diff options
| author | Juanma Barranquero | 2007-10-23 08:42:39 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2007-10-23 08:42:39 +0000 |
| commit | 5eceba819dfe8df19af47ac58f9a1c5a9bc43ad2 (patch) | |
| tree | 47357a3bb1894385e3d861968114032fd9644a39 | |
| parent | ca0766749c3b78ae635e52d47b7c8979212e2483 (diff) | |
| download | emacs-5eceba819dfe8df19af47ac58f9a1c5a9bc43ad2.tar.gz emacs-5eceba819dfe8df19af47ac58f9a1c5a9bc43ad2.zip | |
(ad-make-advised-docstring): Add ad-advice-info text property to doc string.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/advice.el | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7e3b094a4b4..406d29a2cc2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2007-10-23 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * emacs-lisp/advice.el (ad-make-advised-docstring): | ||
| 4 | Add ad-advice-info text property to doc string. | ||
| 5 | |||
| 1 | 2007-10-23 Glenn Morris <rgm@gnu.org> | 6 | 2007-10-23 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * progmodes/f90.el (f90-do-indent, f90-if-indent) | 8 | * progmodes/f90.el (f90-do-indent, f90-if-indent) |
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index 4a5c9149a43..21136721e60 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el | |||
| @@ -3004,8 +3004,10 @@ in any of these classes." | |||
| 3004 | (if advice-docstring | 3004 | (if advice-docstring |
| 3005 | (push advice-docstring paragraphs)))) | 3005 | (push advice-docstring paragraphs)))) |
| 3006 | (setq origdoc (if paragraphs | 3006 | (setq origdoc (if paragraphs |
| 3007 | ;; separate paragraphs with blank lines: | 3007 | (propertize |
| 3008 | (mapconcat 'identity (nreverse paragraphs) "\n\n"))) | 3008 | ;; separate paragraphs with blank lines: |
| 3009 | (mapconcat 'identity (nreverse paragraphs) "\n\n") | ||
| 3010 | 'ad-advice-info function))) | ||
| 3009 | (help-add-fundoc-usage origdoc usage))) | 3011 | (help-add-fundoc-usage origdoc usage))) |
| 3010 | 3012 | ||
| 3011 | (defun ad-make-plain-docstring (function) | 3013 | (defun ad-make-plain-docstring (function) |