Update eldoc

Timestamp: 2024-02-24 00:00:40
GNU ELPA commit: 4c73cd608e8da3e614aabc083e2a6078c1e631bb
Emacs commit: 26290870b3505b8971c73fe3a82b69e3c4e86b88
master
GNU ELPA Mirror Bot 2024-02-24 00:05:49 +00:00
parent be58e7c170
commit 9465ed2e4a
1 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ Remember to keep it a prime number to improve hash performance.")
(defvar eldoc-message-commands
;; Don't define as `defconst' since it would then go to (read-only) purespace.
(make-vector eldoc-message-commands-table-size 0)
(obarray-make eldoc-message-commands-table-size)
"Commands after which it is appropriate to print in the echo area.
ElDoc does not try to print function arglists, etc., after just any command,
because some commands print their own messages in the echo area and these
@ -191,7 +191,7 @@ It should receive the same arguments as `message'.")
When `eldoc-print-after-edit' is non-nil, ElDoc messages are only
printed after commands contained in this obarray."
(let ((cmds (make-vector 31 0))
(let ((cmds (obarray-make 31))
(re (regexp-opt '("delete" "insert" "edit" "electric" "newline"))))
(mapatoms (lambda (s)
(and (commandp s)