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
============================================================
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug