emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/help-fns.el


From: Richard M . Stallman
Subject: [Emacs-diffs] Changes to emacs/lisp/help-fns.el
Date: Mon, 27 Dec 2004 12:04:08 -0500

Index: emacs/lisp/help-fns.el
diff -c emacs/lisp/help-fns.el:1.60 emacs/lisp/help-fns.el:1.61
*** emacs/lisp/help-fns.el:1.60 Fri Dec 17 15:17:02 2004
--- emacs/lisp/help-fns.el      Mon Dec 27 16:24:20 2004
***************
*** 355,361 ****
          (if (re-search-backward "alias for `\\([^`']+\\)'" nil t)
              (help-xref-button 1 'help-function def)))))
      (or file-name
!       (setq file-name (symbol-file function)))
      (when (equal file-name "loaddefs.el")
        ;; Find the real def site of the preloaded function.
        ;; This is necessary only for defaliases.
--- 355,361 ----
          (if (re-search-backward "alias for `\\([^`']+\\)'" nil t)
              (help-xref-button 1 'help-function def)))))
      (or file-name
!       (setq file-name (symbol-file function 'defun)))
      (when (equal file-name "loaddefs.el")
        ;; Find the real def site of the preloaded function.
        ;; This is necessary only for defaliases.
***************
*** 614,620 ****
            ;; Make a hyperlink to the library if appropriate.  (Don't
            ;; change the format of the buffer's initial line in case
            ;; anything expects the current format.)
!           (let ((file-name (symbol-file (cons 'defvar variable))))
              (when (equal file-name "loaddefs.el")
                ;; Find the real def site of the preloaded variable.
                (let ((location
--- 614,620 ----
            ;; Make a hyperlink to the library if appropriate.  (Don't
            ;; change the format of the buffer's initial line in case
            ;; anything expects the current format.)
!           (let ((file-name (symbol-file variable 'defvar)))
              (when (equal file-name "loaddefs.el")
                ;; Find the real def site of the preloaded variable.
                (let ((location




reply via email to

[Prev in Thread] Current Thread [Next in Thread]