diff options
| author | Dave Love | 1999-12-11 23:45:32 +0000 |
|---|---|---|
| committer | Dave Love | 1999-12-11 23:45:32 +0000 |
| commit | d5f65532f39072d38485fc090951253d3b7e7f9b (patch) | |
| tree | 04dadd5e8cddf09dd04cdf593010fa2cb451b77f | |
| parent | 910e57144014cac0e6db8a571386155308f43d93 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/help.el | 2 |
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 @@ | |||
| 1 | 1999-12-11 Samir Barjoud <samir@mindspring.com> | ||
| 2 | |||
| 3 | * help.el (where-is): use `commandp' as predicate for | ||
| 4 | `completing-read' | ||
| 5 | |||
| 1 | 1999-12-10 Richard M. Stallman <rms@caffeine.ai.mit.edu> | 6 | 1999-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))) |