]> git.eshelyaron.com Git - emacs.git/commitdiff
(describe-function-1): Fix the code that uses find-function-noselect.
authorRichard M. Stallman <rms@gnu.org>
Wed, 29 Jul 1998 23:04:03 +0000 (23:04 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 29 Jul 1998 23:04:03 +0000 (23:04 +0000)
lisp/help.el

index afe7f49e220658ed120e363864eecce39e657d34..ba3c6d6d4cd47167fe715f6d555d5538fc779dcf 100644 (file)
@@ -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))))
                                function)))))
     (if need-close (princ ")"))
     (princ ".")