Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
442c8150
Commit
442c8150
authored
May 21, 2004
by
Luc Teirlinck
Browse files
(locate-prompt-for-command): Shorten first line of docstring.
(locate-mode): Expand docstring and include keymap summary.
parent
4edcfd17
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
lisp/ChangeLog
lisp/ChangeLog
+6
-0
lisp/locate.el
lisp/locate.el
+6
-2
No files found.
lisp/ChangeLog
View file @
442c8150
2004-05-20 Luc Teirlinck <teirllm@auburn.edu>
* locate.el (locate-prompt-for-command): Shorten first line of
docstring.
(locate-mode): Expand docstring and include keymap summary.
2004-05-20 Luc Teirlinck <teirllm@auburn.edu>
* files.el (find-file-noselect-1): Limit the scope of the
...
...
lisp/locate.el
View file @
442c8150
...
...
@@ -160,7 +160,7 @@
:group
'locate
)
(
defcustom
locate-prompt-for-command
nil
"If non-nil, the
default behavior of the
locate command
is to
prompt for a command to run.
"If non-nil, the locate command prompt
s
for a command to run.
Otherwise, that behavior is invoked via a prefix argument."
:group
'locate
:type
'boolean
...
...
@@ -329,7 +329,11 @@ shown; this is often useful to constrain a big search."
;; Default directory is set to "/" so that dired commands, which
;; expect to be in a tree, will work properly
(
defun
locate-mode
()
"Major mode for the `*Locate*' buffer made by \\[locate]."
"Major mode for the `*Locate*' buffer made by \\[locate].
In that buffer, you can use almost all the usual dired bindings.
\\[locate-find-directory] visits the directory of the file on the current line.
\\{locate-mode-map}"
(
kill-all-local-variables
)
;; Avoid clobbering this variables
(
make-local-variable
'dired-subdir-alist
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment