diff options
| author | Luc Teirlinck | 2004-05-21 03:12:10 +0000 |
|---|---|---|
| committer | Luc Teirlinck | 2004-05-21 03:12:10 +0000 |
| commit | 442c81502876dcac94635394af200d37fca75b18 (patch) | |
| tree | 40bbaaaa3fb0d2d22a9aafd71f23bdeef8bb2607 | |
| parent | 4edcfd1772d0f58c6000a41b9ae3ab7796266e47 (diff) | |
| download | emacs-442c81502876dcac94635394af200d37fca75b18.tar.gz emacs-442c81502876dcac94635394af200d37fca75b18.zip | |
(locate-prompt-for-command): Shorten first line of docstring.
(locate-mode): Expand docstring and include keymap summary.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/locate.el | 8 |
2 files changed, 12 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 00e75ded5ec..ef439eb1bfc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2004-05-20 Luc Teirlinck <teirllm@auburn.edu> | 1 | 2004-05-20 Luc Teirlinck <teirllm@auburn.edu> |
| 2 | 2 | ||
| 3 | * locate.el (locate-prompt-for-command): Shorten first line of | ||
| 4 | docstring. | ||
| 5 | (locate-mode): Expand docstring and include keymap summary. | ||
| 6 | |||
| 7 | 2004-05-20 Luc Teirlinck <teirllm@auburn.edu> | ||
| 8 | |||
| 3 | * files.el (find-file-noselect-1): Limit the scope of the | 9 | * files.el (find-file-noselect-1): Limit the scope of the |
| 4 | `inhibit-read-only' binding. Make sure that `inhibit-read-only' | 10 | `inhibit-read-only' binding. Make sure that `inhibit-read-only' |
| 5 | is, by default, nil during the execution of | 11 | is, by default, nil during the execution of |
diff --git a/lisp/locate.el b/lisp/locate.el index eb8074c9f6c..e61ec87d4e4 100644 --- a/lisp/locate.el +++ b/lisp/locate.el | |||
| @@ -160,7 +160,7 @@ | |||
| 160 | :group 'locate) | 160 | :group 'locate) |
| 161 | 161 | ||
| 162 | (defcustom locate-prompt-for-command nil | 162 | (defcustom locate-prompt-for-command nil |
| 163 | "If non-nil, the default behavior of the locate command is to prompt for a command to run. | 163 | "If non-nil, the locate command prompts for a command to run. |
| 164 | Otherwise, that behavior is invoked via a prefix argument." | 164 | Otherwise, that behavior is invoked via a prefix argument." |
| 165 | :group 'locate | 165 | :group 'locate |
| 166 | :type 'boolean | 166 | :type 'boolean |
| @@ -329,7 +329,11 @@ shown; this is often useful to constrain a big search." | |||
| 329 | ;; Default directory is set to "/" so that dired commands, which | 329 | ;; Default directory is set to "/" so that dired commands, which |
| 330 | ;; expect to be in a tree, will work properly | 330 | ;; expect to be in a tree, will work properly |
| 331 | (defun locate-mode () | 331 | (defun locate-mode () |
| 332 | "Major mode for the `*Locate*' buffer made by \\[locate]." | 332 | "Major mode for the `*Locate*' buffer made by \\[locate]. |
| 333 | In that buffer, you can use almost all the usual dired bindings. | ||
| 334 | \\[locate-find-directory] visits the directory of the file on the current line. | ||
| 335 | |||
| 336 | \\{locate-mode-map}" | ||
| 333 | (kill-all-local-variables) | 337 | (kill-all-local-variables) |
| 334 | ;; Avoid clobbering this variables | 338 | ;; Avoid clobbering this variables |
| 335 | (make-local-variable 'dired-subdir-alist) | 339 | (make-local-variable 'dired-subdir-alist) |