From e242b6c447c58d1aeaa58bb621c36407fee08fea Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Fri, 9 Dec 2005 09:56:39 +0000 Subject: [PATCH] (locate): Disable undo in *Locate* buffer. --- lisp/locate.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/locate.el b/lisp/locate.el index 5b61ed522e9..5934a572d4d 100644 --- a/lisp/locate.el +++ b/lisp/locate.el @@ -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) -- 2.39.5