Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
85eaa837
Commit
85eaa837
authored
Jul 15, 2020
by
Tassilo Horn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
;Fix eldoc regression bug#42365
parent
58bec884
Pipeline
#6055
failed with stage
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
lisp/emacs-lisp/eldoc.el
lisp/emacs-lisp/eldoc.el
+3
-2
No files found.
lisp/emacs-lisp/eldoc.el
View file @
85eaa837
...
@@ -495,8 +495,9 @@ Honor most of `eldoc-echo-area-use-multiline-p'."
...
@@ -495,8 +495,9 @@ Honor most of `eldoc-echo-area-use-multiline-p'."
(
substitute-command-keys
"\\[eldoc-doc-buffer]"
)))))))))
(
substitute-command-keys
"\\[eldoc-doc-buffer]"
)))))))))
((
=
available
1
)
((
=
available
1
)
;; Truncate "brutally." ; FIXME: use `eldoc-prefer-doc-buffer' too?
;; Truncate "brutally." ; FIXME: use `eldoc-prefer-doc-buffer' too?
(
truncate-string-to-width
(
with-current-buffer
(
eldoc-doc-buffer
)
(
buffer-substring
(
point-min
)
(
line-end-position
1
))
width
)))))
(
truncate-string-to-width
(
buffer-substring
(
point-min
)
(
line-end-position
1
))
width
))))))
(
when
echo-area-message
(
when
echo-area-message
(
eldoc--message
echo-area-message
))))))
(
eldoc--message
echo-area-message
))))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment