]> git.eshelyaron.com Git - emacs.git/commitdiff
(locate): Disable undo in *Locate* buffer.
authorJuri Linkov <juri@jurta.org>
Fri, 9 Dec 2005 09:56:39 +0000 (09:56 +0000)
committerJuri Linkov <juri@jurta.org>
Fri, 9 Dec 2005 09:56:39 +0000 (09:56 +0000)
lisp/locate.el

index 5b61ed522e9f805cbdcb664555d308feef3e206b..5934a572d4d0396267b30f0c86dc56dcd83867ee 100644 (file)
@@ -229,7 +229,8 @@ With prefix arg, prompt for the locate command to run."
     (save-window-excursion
       (set-buffer (get-buffer-create locate-buffer-name))
       (locate-mode)
-      (let ((inhibit-read-only t))
+      (let ((inhibit-read-only t)
+           (buffer-undo-list t))
        (erase-buffer)
 
        (setq locate-current-filter filter)