mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(describe-char): Bug fix for previous changes: Juggle current buffer.
This commit is contained in:
parent
e5a5c80cd5
commit
a06b8fd888
1 changed files with 5 additions and 3 deletions
|
|
@ -586,9 +586,11 @@ as well as widgets, buttons, overlays, and text properties."
|
|||
(setq max-width (apply #'max (mapcar #'(lambda (x)
|
||||
(if (cadr x) (length (car x)) 0))
|
||||
item-list)))
|
||||
(help-setup-xref
|
||||
(list #'describe-char pos (if buf buf (current-buffer)))
|
||||
(interactive-p))
|
||||
(let ((buffer (current-buffer)))
|
||||
(with-current-buffer help-buffer
|
||||
(help-setup-xref
|
||||
(list #'describe-char pos (if buf buf buffer))
|
||||
(interactive-p))))
|
||||
(with-output-to-temp-buffer help-buffer
|
||||
(with-current-buffer standard-output
|
||||
(set-buffer-multibyte multibyte-p)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue