Commit 582b6241 authored by Richard M. Stallman's avatar Richard M. Stallman

(describe-function-1): Fix the code that uses find-function-noselect.

parent 79b65a08
......@@ -619,8 +619,8 @@ C-w Display information on absence of warranty for GNU Emacs."
(help-xref-button 1 #'(lambda (arg)
(let ((location
(find-function-noselect arg)))
(display-buffer (nth 0 location))
(goto-char (nth 1 location))))
(pop-to-buffer (car location))
(goto-char (cdr location))))
(if need-close (princ ")"))
(princ ".")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment