diff options
author | Eshel Yaron <me@eshelyaron.com> | 2023-01-14 10:12:11 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-01-14 10:12:11 +0200 |
commit | f1032bf24e79cf32341473c5d9f447c4c74f9d2b (patch) | |
tree | 8afe71a4fc33b6bb007ecfe23b2371c66cbec3b1 /lisp/doc-view.el | |
parent | 1b9ffd281162794e71a7e6a4d26cfbb3991c0cde (diff) | |
download | emacs-f1032bf24e79cf32341473c5d9f447c4c74f9d2b.tar.gz emacs-f1032bf24e79cf32341473c5d9f447c4c74f9d2b.tar.bz2 emacs-f1032bf24e79cf32341473c5d9f447c4c74f9d2b.zip |
Eglot: don't use "nil" as minibuffer initial input
Doing M-x eglot in a buffer for which buffer-file-name is nil, prompts
the user for a major mode to manage by invoking completing-read. The
way completing-read was called would end up with the string "nil" as
the initial minibuffer input, which is not very useful nor is it a
valid input.
* lisp/progmodes/eglot.el (eglot--guess-contact): Tweak prompt for
major mode. (Bug#60379)
Copyright-paperwork-exempt: yes
Diffstat (limited to 'lisp/doc-view.el')
0 files changed, 0 insertions, 0 deletions