aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-11-21 00:10:57 +0000
committerRichard M. Stallman1995-11-21 00:10:57 +0000
commitf587d7acaca04810653399b332ff012535481592 (patch)
tree050d9f1222cf9f0fafb1aaec94d985fd52342916
parent128a5b555b139900ac31ea4e717311a2badff387 (diff)
downloademacs-f587d7acaca04810653399b332ff012535481592.tar.gz
emacs-f587d7acaca04810653399b332ff012535481592.zip
(apropos-print): Use apropos-local-map as buffer's map,
not as a text property.
-rw-r--r--lisp/apropos.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/apropos.el b/lisp/apropos.el
index a51db667874..9adf987d941 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -432,6 +432,7 @@ found."
432 "Click \\<apropos-local-map>\\[apropos-mouse-follow] to get full documentation.\n"))) 432 "Click \\<apropos-local-map>\\[apropos-mouse-follow] to get full documentation.\n")))
433 (insert (substitute-command-keys 433 (insert (substitute-command-keys
434 "In this buffer, type \\<apropos-local-map>\\[apropos-follow] to get full documentation.\n\n")) 434 "In this buffer, type \\<apropos-local-map>\\[apropos-follow] to get full documentation.\n\n"))
435 (use-local-map apropos-local-map)
435 (while (consp p) 436 (while (consp p)
436 (or (not spacing) (bobp) (terpri)) 437 (or (not spacing) (bobp) (terpri))
437 (setq apropos-item (car p) 438 (setq apropos-item (car p)
@@ -477,8 +478,7 @@ found."
477 (apropos-print-doc 'describe-variable 2 478 (apropos-print-doc 'describe-variable 2
478 "Variable" do-keys) 479 "Variable" do-keys)
479 (apropos-print-doc 'apropos-describe-plist 3 480 (apropos-print-doc 'apropos-describe-plist 3
480 "Plist" nil)) 481 "Plist" nil))))))
481 (put-text-property 1 (point) 'local-map apropos-local-map)))))
482 (prog1 apropos-accumulator 482 (prog1 apropos-accumulator
483 (setq apropos-accumulator ()))) ; permit gc 483 (setq apropos-accumulator ()))) ; permit gc
484 484