diff options
author | Yuuki Harano <masm+github@masm11.me> | 2020-11-29 02:12:15 +0900 |
---|---|---|
committer | Yuuki Harano <masm+github@masm11.me> | 2020-11-29 02:12:15 +0900 |
commit | d46a223d8595e8edb67c6361033625797503cacf (patch) | |
tree | cf7e27daa93bfd05663dbbb2555b4682843ed40f /lisp/emacs-lisp/eldoc.el | |
parent | 62abc054041a592ca617ab228d61469dd7923a3f (diff) | |
parent | 769dc33df7ec9ac81aa52c336d2a61c32ddbd50f (diff) | |
download | emacs-d46a223d8595e8edb67c6361033625797503cacf.tar.gz emacs-d46a223d8595e8edb67c6361033625797503cacf.tar.bz2 emacs-d46a223d8595e8edb67c6361033625797503cacf.zip |
Merge branch 'master' into feature/pgtk
Diffstat (limited to 'lisp/emacs-lisp/eldoc.el')
-rw-r--r-- | lisp/emacs-lisp/eldoc.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/eldoc.el b/lisp/emacs-lisp/eldoc.el index 78cb8f08c34..d81060ef165 100644 --- a/lisp/emacs-lisp/eldoc.el +++ b/lisp/emacs-lisp/eldoc.el @@ -591,7 +591,8 @@ Honor `eldoc-echo-area-use-multiline-p' and ;; format the *eldoc* buffer, using as most of its ;; contents as we know will fit. (with-current-buffer (eldoc--format-doc-buffer docs) - (eldoc--echo-area-substring available))) + (save-excursion + (eldoc--echo-area-substring available)))) (t ;; this is the "truncate brutally" situation (let ((string (with-current-buffer (eldoc--format-doc-buffer docs) |