diff options
| author | Glenn Morris | 2007-09-05 03:47:22 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-09-05 03:47:22 +0000 |
| commit | feb47a092cce60fbdb6f591ddab2ec09729e6511 (patch) | |
| tree | 7c63885974de27924417e17efa58090f5c2fc0f1 | |
| parent | d61af56253764403d7c4ce8dd9a41cd378b2fd16 (diff) | |
| download | emacs-feb47a092cce60fbdb6f591ddab2ec09729e6511.tar.gz emacs-feb47a092cce60fbdb6f591ddab2ec09729e6511.zip | |
Johan Bockg� <bojohan at dd.chalmers.se>
(ad-make-advised-docstring): Highlight note in doc string.
| -rw-r--r-- | lisp/emacs-lisp/advice.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index dbebf314798..d04550c187d 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el | |||
| @@ -2996,7 +2996,9 @@ in any of these classes." | |||
| 2996 | (setq usage (if (null usage) t (setq origdoc (cdr usage)) (car usage))) | 2996 | (setq usage (if (null usage) t (setq origdoc (cdr usage)) (car usage))) |
| 2997 | (if origdoc (setq paragraphs (list origdoc))) | 2997 | (if origdoc (setq paragraphs (list origdoc))) |
| 2998 | (unless (eq style 'plain) | 2998 | (unless (eq style 'plain) |
| 2999 | (push (concat "This " origtype " is advised.") paragraphs)) | 2999 | (push (propertize (concat "This " origtype " is advised.") |
| 3000 | 'face 'font-lock-warning-face) | ||
| 3001 | paragraphs)) | ||
| 3000 | (ad-dolist (class ad-advice-classes) | 3002 | (ad-dolist (class ad-advice-classes) |
| 3001 | (ad-dolist (advice (ad-get-enabled-advices function class)) | 3003 | (ad-dolist (advice (ad-get-enabled-advices function class)) |
| 3002 | (setq advice-docstring | 3004 | (setq advice-docstring |