# HG changeset patch # User Richard M. Stallman # Date 894519007 0 # Node ID 9c71660c0a8df60da85fbdea6dbeb318967b59d6 # Parent 23bf812d49377d2d4b35b84124dc348d9c4ce8f4 (describe-function-1): Use find-function-noselect instead of find-function. diff -r 23bf812d4937 -r 9c71660c0a8d lisp/help.el --- a/lisp/help.el Thu May 07 04:51:41 1998 +0000 +++ b/lisp/help.el Thu May 07 05:30:07 1998 +0000 @@ -628,7 +628,12 @@ (with-current-buffer "*Help*" (save-excursion (re-search-backward "`\\([^`']+\\)'" nil t) - (help-xref-button 1 #'find-function function))))) + (help-xref-button 1 #'(lambda (arg) + (let ((location + (find-function-noselect arg))) + (display-buffer (nth 0 location)) + (goto-char (nth 1 location)))) + function))))) (if need-close (princ ")")) (princ ".") (terpri)