emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: patch for locate.el when called with prefix arg


From: Luc Teirlinck
Subject: Re: patch for locate.el when called with prefix arg
Date: Tue, 24 Apr 2007 19:16:38 -0500 (CDT)

Maybe the following slightly different patch is better.  Only two
words difference woth the original: GNU locate is referred to as a
"program" rather than as a command, to distinguish it from the Emacs
command `locate' mentioned later and `locate-in-alternate-database'
is now referred to as a "command" rather than function.

===File ~/locate-diff=======================================
*** locate.el   23 Apr 2007 18:54:38 -0500      1.44
--- locate.el   24 Apr 2007 19:09:37 -0500      
***************
*** 669,675 ****
  
  ;; Only for GNU locate
  (defun locate-in-alternate-database  (search-string database)
!   "Run the GNU locate command, using an alternate database."
    (interactive
        (list
         (progn
--- 669,680 ----
  
  ;; Only for GNU locate
  (defun locate-in-alternate-database  (search-string database)
!   "Run the GNU locate program, using an alternate database.
! 
! This command only works if you use GNU locate.  It does not work
! properly if `locate-prompt-for-command' is set to t.  In that
! case, you can just run the regular `locate' command and specify
! the database on the command line."
    (interactive
        (list
         (progn
============================================================




reply via email to

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