[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/advice.el
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/emacs-lisp/advice.el |
Date: |
Tue, 30 Apr 2002 00:20:16 -0400 |
Index: emacs/lisp/emacs-lisp/advice.el
diff -c emacs/lisp/emacs-lisp/advice.el:1.31
emacs/lisp/emacs-lisp/advice.el:1.32
*** emacs/lisp/emacs-lisp/advice.el:1.31 Tue Dec 11 01:07:07 2001
--- emacs/lisp/emacs-lisp/advice.el Tue Apr 30 00:20:16 2002
***************
*** 3925,3930 ****
--- 3925,3934 ----
;; Use the advice mechanism to advise `documentation' to make it
;; generate proper documentation strings for advised definitions:
+ ;; This makes sure we get the right arglist for `documentation'
+ ;; during bootstrapping.
+ (ad-define-subr-args 'documentation '(function &optional raw))
+
(defadvice documentation (after ad-advised-docstring first disable preact)
"Builds an advised docstring if FUNCTION is advised."
;; Because we get the function name from the advised docstring
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/lisp/emacs-lisp/advice.el,
Richard M. Stallman <=