diff options
author | Juri Linkov <juri@jurta.org> | 2005-12-09 09:56:39 +0000 |
---|---|---|
committer | Juri Linkov <juri@jurta.org> | 2005-12-09 09:56:39 +0000 |
commit | e242b6c447c58d1aeaa58bb621c36407fee08fea (patch) | |
tree | d7e85009498088c28e4ad27f86aefd0548ed70fc /lisp/locate.el | |
parent | 67019e7f8181f972a9766746e5afb37cd8d6a5e6 (diff) | |
download | emacs-e242b6c447c58d1aeaa58bb621c36407fee08fea.tar.gz |
(locate): Disable undo in *Locate* buffer.
Diffstat (limited to 'lisp/locate.el')
-rw-r--r-- | lisp/locate.el | 3 |
1 files changed, 2 insertions, 1 deletions
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) |