changeset 67429:3ff7903b19d7

(locate): Disable undo in *Locate* buffer.
author Juri Linkov <juri@jurta.org>
date Fri, 09 Dec 2005 09:56:39 +0000
parents 9e33a6897729
children 2c1c0c628ff3
files lisp/locate.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/locate.el	Fri Dec 09 09:48:36 2005 +0000
+++ b/lisp/locate.el	Fri Dec 09 09:56:39 2005 +0000
@@ -229,7 +229,8 @@
     (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)