Johan Bockg� <bojohan at dd.chalmers.se>
(ad-make-advised-docstring): Highlight note in doc string.
This commit is contained in:
parent
d61af56253
commit
feb47a092c
1 changed files with 3 additions and 1 deletions
|
@ -2996,7 +2996,9 @@ in any of these classes."
|
|||
(setq usage (if (null usage) t (setq origdoc (cdr usage)) (car usage)))
|
||||
(if origdoc (setq paragraphs (list origdoc)))
|
||||
(unless (eq style 'plain)
|
||||
(push (concat "This " origtype " is advised.") paragraphs))
|
||||
(push (propertize (concat "This " origtype " is advised.")
|
||||
'face 'font-lock-warning-face)
|
||||
paragraphs))
|
||||
(ad-dolist (class ad-advice-classes)
|
||||
(ad-dolist (advice (ad-get-enabled-advices function class))
|
||||
(setq advice-docstring
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue