comparison lisp/locate.el @ 77503:40acbd9992e2

Luc Teirlinck <teirllm at dms.auburn.edu>: (locate-in-alternate-database): Doc fix.
author Glenn Morris <rgm@gnu.org>
date Thu, 26 Apr 2007 03:43:32 +0000
parents 84802af12767
children 880a458895b9 92c344270c8a
comparison
equal deleted inserted replaced
77502:9a42a4441db4 77503:40acbd9992e2
667 (setq file (encode-coding-string file buffer-file-coding-system))) 667 (setq file (encode-coding-string file buffer-file-coding-system)))
668 file)) 668 file))
669 669
670 ;; Only for GNU locate 670 ;; Only for GNU locate
671 (defun locate-in-alternate-database (search-string database) 671 (defun locate-in-alternate-database (search-string database)
672 "Run the GNU locate command, using an alternate database." 672 "Run the GNU locate command, using an alternate database.
673
674 This command only works if you use GNU locate. It does not work
675 properly if `locate-prompt-for-command' is set to t. In that
676 case, you can just run the regular `locate' command and specify
677 the database on the command line."
673 (interactive 678 (interactive
674 (list 679 (list
675 (progn 680 (progn
676 ;; (require 'locate) 681 ;; (require 'locate)
677 (read-from-minibuffer "Locate: " nil nil 682 (read-from-minibuffer "Locate: " nil nil