Don't mention obsolete generalized variables in *Help*
* lisp/help-fns.el (help-fns--generalized-variable): Don't mention obsolete ones.
This commit is contained in:
parent
915efbff98
commit
9d9798521e
1 changed files with 3 additions and 1 deletions
|
@ -1156,7 +1156,9 @@ Returns a list of the form (REAL-FUNCTION DEF ALIASED REAL-DEF)."
|
|||
(add-hook 'help-fns-describe-function-functions #'help-fns--compiler-macro 100)
|
||||
|
||||
(defun help-fns--generalized-variable (function)
|
||||
(when (get function 'gv-expander)
|
||||
(when (and (get function 'gv-expander)
|
||||
;; Don't mention obsolete generalized variables.
|
||||
(not (get function 'byte-obsolete-generalized-variable)))
|
||||
(insert (format-message " `%s' is also a " function)
|
||||
(buttonize "generalized variable"
|
||||
(lambda (_) (info "(elisp)Generalized Variables")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue