emacs-devel
[Top][All Lists]
Advanced

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

address@hidden: Re: patch for locate.el when called with prefix arg]


From: Richard Stallman
Subject: address@hidden: Re: patch for locate.el when called with prefix arg]
Date: Wed, 25 Apr 2007 10:52:16 -0400

Someone please install this.

------- Start of forwarded message -------
X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=failed 
        version=3.1.0
Date: Tue, 24 Apr 2007 19:16:38 -0500 (CDT)
From: Luc Teirlinck <address@hidden>
To: address@hidden
CC: address@hidden, address@hidden
In-reply-to: <address@hidden> (message from Richard
        Stallman on Tue, 24 Apr 2007 17:36:03 -0400)
Subject: Re: patch for locate.el when called with prefix arg

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
============================================================
------- End of forwarded message -------




reply via email to

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