projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46052d1
)
Don't list obsolete in "other commands" help section
author
Stefan Kangas
<stefan@marxist.se>
Thu, 21 Jul 2022 06:55:28 +0000
(08:55 +0200)
committer
Stefan Kangas
<stefan@marxist.se>
Thu, 21 Jul 2022 07:23:20 +0000
(09:23 +0200)
* lisp/help-fns.el (help-fns--list-local-commands): Don't list
obsolete commands.
lisp/help-fns.el
patch
|
blob
|
history
diff --git
a/lisp/help-fns.el
b/lisp/help-fns.el
index 620b7666f6295a88ec6de8103b1628938d0fbc71..dc64a09f3d8cc350ec70903df0b0d6b0355e81fa 100644
(file)
--- a/
lisp/help-fns.el
+++ b/
lisp/help-fns.el
@@
-2195,6
+2195,8
@@
documentation for the major and minor modes of that buffer."
(when (and (commandp sym)
;; Ignore aliases.
(not (symbolp (symbol-function sym)))
+ ;; Ignore obsolete commands.
+ (not (get sym 'byte-obsolete-info))
;; Ignore everything bound.
(not (where-is-internal sym nil t))
(apply #'derived-mode-p (command-modes sym)))