summaryrefslogtreecommitdiff
path: root/lisp/help-fns.el
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2002-02-23 22:27:39 +0000
committerKim F. Storm <storm@cua.dk>2002-02-23 22:27:39 +0000
commit1d6a83230c4cb43d14b0de5cfae34ddd45ad62e8 (patch)
treeb66c1701c7c00a906efba83e0723e28d5a4d7014 /lisp/help-fns.el
parenta2f9aa84c3c70a84f8c1827278f762daddb95d10 (diff)
downloademacs-1d6a83230c4cb43d14b0de5cfae34ddd45ad62e8.tar.gz
emacs-1d6a83230c4cb43d14b0de5cfae34ddd45ad62e8.tar.bz2
emacs-1d6a83230c4cb43d14b0de5cfae34ddd45ad62e8.zip
(describe-function-1): Use remap-command.
Diffstat (limited to 'lisp/help-fns.el')
-rw-r--r--lisp/help-fns.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/help-fns.el b/lisp/help-fns.el
index 20d76f9c913..4b4f78c0847 100644
--- a/lisp/help-fns.el
+++ b/lisp/help-fns.el
@@ -207,9 +207,7 @@ and the file name is displayed in the echo area."
(princ ".")
(terpri)
(when (commandp function)
- (let* ((binding (and (symbolp function) (commandp function)
- (key-binding function nil t)))
- (remapped (and (symbolp binding) (commandp binding) binding))
+ (let* ((remapped (remap-command function))
(keys (where-is-internal
(or remapped function) overriding-local-map nil nil)))
(when remapped