aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love1999-12-11 23:45:32 +0000
committerDave Love1999-12-11 23:45:32 +0000
commitd5f65532f39072d38485fc090951253d3b7e7f9b (patch)
tree04dadd5e8cddf09dd04cdf593010fa2cb451b77f
parent910e57144014cac0e6db8a571386155308f43d93 (diff)
downloademacs-d5f65532f39072d38485fc090951253d3b7e7f9b.tar.gz
emacs-d5f65532f39072d38485fc090951253d3b7e7f9b.zip
1999-12-11 Samir Barjoud <samir@mindspring.com>
* help.el (where-is): use `commandp' as predicate for `completing-read'
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/help.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 334e939e588..fe1aa5537a8 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
11999-12-11 Samir Barjoud <samir@mindspring.com>
2
3 * help.el (where-is): use `commandp' as predicate for
4 `completing-read'
5
11999-12-10 Richard M. Stallman <rms@caffeine.ai.mit.edu> 61999-12-10 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2 7
3 * cus-edit.el (custom-save-delete): Delete all occurrences, 8 * cus-edit.el (custom-save-delete): Delete all occurrences,
diff --git a/lisp/help.el b/lisp/help.el
index 875723f154a..818f35aa539 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -874,7 +874,7 @@ If INSERT (the prefix arg) is non-nil, insert the message in the buffer."
874 (setq val (completing-read (if fn 874 (setq val (completing-read (if fn
875 (format "Where is command (default %s): " fn) 875 (format "Where is command (default %s): " fn)
876 "Where is command: ") 876 "Where is command: ")
877 obarray 'fboundp t)) 877 obarray 'commandp t))
878 (list (if (equal val "") 878 (list (if (equal val "")
879 fn (intern val)) 879 fn (intern val))
880 current-prefix-arg))) 880 current-prefix-arg)))