mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-11 08:30:45 -08:00
Eglot: fix discrepant eglot-guess-contact/eglot-command-history
Due to a typo, the defvar eglot--command-history wasn't actually used in eglot-guess-contact as intended. That function used a single-dash-name version of the variable instead. This worked fine, except that two variables were created instead of one, and the one actually being used didn't have any docstring. Rename the variable to eglot-command-history to fix this. It's better than renaming the reference in eglot-guess-contact which would lose user's history for M-x eglot. * lisp/progmodes/eglot.el (eglot-command-history): Rename from eglot--command-history.
This commit is contained in:
parent
8bf4cdcf79
commit
a0806bc7ea
1 changed files with 1 additions and 1 deletions
|
|
@ -941,7 +941,7 @@ PRESERVE-BUFFERS as in `eglot-shutdown', which see."
|
|||
(push sym retval))))
|
||||
retval))
|
||||
|
||||
(defvar eglot--command-history nil
|
||||
(defvar eglot-command-history nil
|
||||
"History of CONTACT arguments to `eglot'.")
|
||||
|
||||
(defun eglot--lookup-mode (mode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue