]> code.delx.au - gnu-emacs/blobdiff - lisp/locate.el
(Help-Xref): Texinfo usage fix.
[gnu-emacs] / lisp / locate.el
index f337bd09bad97752db29a2632fda68849691ee7e..30a6ff41df398a85863113365ccdf03637a7ccff 100644 (file)
 ;;;###autoload
 (defcustom locate-ls-subdir-switches "-al"
   "`ls' switches for inserting subdirectories in `*Locate*' buffers.
-This should contain the \"-l\" switch.
-Use the \"-F\" or \"-b\" switches if and only if you also use
-them for `find-ls-option'."
+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."
@@ -395,7 +393,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))