]> code.delx.au - gnu-emacs/blobdiff - lisp/locate.el
Add dired-hide-details-mode. (Bug#6799)
[gnu-emacs] / lisp / locate.el
index d172ce3d6c4501570558563b832b7add742c5a32..ab0417070e7e47758796a9b42bbd40f36c3fa7c0 100644 (file)
@@ -1,6 +1,6 @@
 ;;; locate.el --- interface to the locate command
 
-;; Copyright (C) 1996, 1998, 2001-201 Free Software Foundation, Inc.
+;; Copyright (C) 1996, 1998, 2001-2013 Free Software Foundation, Inc.
 
 ;; Author: Peter Breton <pbreton@cs.umb.edu>
 ;; Keywords: unix files
@@ -496,6 +496,7 @@ do not work in subdirectories.
   (setq revert-buffer-function 'locate-update)
   (set (make-local-variable 'page-delimiter) "\n\n")
   (run-mode-hooks 'locate-mode-hook))
+(put 'locate-mode 'derived-mode-parent 'dired-mode)
 
 (defun locate-do-setup (search-string)
   (goto-char (point-min))