emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

locate.el


From: Luc Teirlinck
Subject: locate.el
Date: Thu, 20 May 2004 18:53:18 -0500 (CDT)

I propose the following changes to two docstrings in locate.el.  The
most important one is the expansion of the mode documentation.  The
change to `locate-prompt-for-command' is necessary because the first
line is (much) wider than the maximum allowed 67 characters.

If there are no objections, I will install within a few days.

===File ~/locate-diff=======================================
*** locate.el   02 Sep 2003 07:34:37 -0500      1.21
--- locate.el   20 May 2004 17:14:36 -0500      
***************
*** 160,166 ****
    :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.
  Otherwise, that behavior is invoked via a prefix argument."
    :group 'locate
    :type 'boolean
--- 160,166 ----
    :group 'locate)
  
  (defcustom locate-prompt-for-command nil
!   "If non-nil, the locate command prompts for a command to run.
  Otherwise, that behavior is invoked via a prefix argument."
    :group 'locate
    :type 'boolean
***************
*** 329,335 ****
  ;; 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]."
    (kill-all-local-variables)
    ;; Avoid clobbering this variables
    (make-local-variable 'dired-subdir-alist)
--- 329,339 ----
  ;; 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].
! 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)
============================================================




reply via email to

[Prev in Thread] Current Thread [Next in Thread]