X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/2f9a6938e2b4e575ff59196c01b39031a13c2f68..797d92ed1f986579ab155e1f2df346eb31cc4085:/lisp/locate.el diff --git a/lisp/locate.el b/lisp/locate.el index 0833d67742..cbf2e4866a 100644 --- a/lisp/locate.el +++ b/lisp/locate.el @@ -1,6 +1,7 @@ ;;; locate.el --- interface to the locate command -;; Copyright (C) 1996, 1998, 2001 Free Software Foundation, Inc. +;; Copyright (C) 1996, 1998, 2001, 2002, 2003, 2004, +;; 2005 Free Software Foundation, Inc. ;; Author: Peter Breton ;; Keywords: unix files @@ -19,8 +20,8 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, -;; Boston, MA 02111-1307, USA. +;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;; Boston, MA 02110-1301, USA. ;;; Commentary: @@ -154,11 +155,10 @@ ;;;###autoload (defcustom locate-ls-subdir-switches "-al" "`ls' switches for inserting subdirectories in `*Locate*' buffers. -This should contain the \"-l\" switch, but not the \"-F\" or -\"-b\" switches." +This should contain the \"-l\" switch, but not the \"-F\" or \"-b\" switches." :type 'string :group 'locate - :version "21.4") + :version "22.1") (defcustom locate-update-command "updatedb" "The command used to update the locate database." @@ -394,7 +394,7 @@ do not work in subdirectories. (make-local-variable 'revert-buffer-function) (setq revert-buffer-function 'locate-update) (set (make-local-variable 'page-delimiter) "\n\n") - (run-hooks 'locate-mode-hook)) + (run-mode-hooks 'locate-mode-hook)) (defun locate-do-setup (search-string) (goto-char (point-min))