/[emacs]/emacs/lisp/locate.el
ViewVC logotype

Diff of /emacs/lisp/locate.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19.4.2 by miles, Tue Oct 14 23:51:16 2003 UTC revision 1.19.4.3 by miles, Tue Jul 6 09:23:43 2004 UTC
# Line 160  Line 160 
160    :group 'locate)    :group 'locate)
161    
162  (defcustom locate-prompt-for-command nil  (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.    "If non-nil, the locate command prompts for a command to run.
164  Otherwise, that behavior is invoked via a prefix argument."  Otherwise, that behavior is invoked via a prefix argument."
165    :group 'locate    :group 'locate
166    :type 'boolean    :type 'boolean
# Line 329  shown; this is often useful to constrain Line 329  shown; this is often useful to constrain
329  ;; Default directory is set to "/" so that dired commands, which  ;; Default directory is set to "/" so that dired commands, which
330  ;; expect to be in a tree, will work properly  ;; expect to be in a tree, will work properly
331  (defun locate-mode ()  (defun locate-mode ()
332    "Major mode for the `*Locate*' buffer made by \\[locate]."    "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}"
337    (kill-all-local-variables)    (kill-all-local-variables)
338    ;; Avoid clobbering this variables    ;; Avoid clobbering this variables
339    (make-local-variable 'dired-subdir-alist)    (make-local-variable 'dired-subdir-alist)

Legend:
Removed from v.1.19.4.2  
changed lines
  Added in v.1.19.4.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26