1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

(locate): Disable undo in *Locate* buffer.

This commit is contained in:
Juri Linkov 2005-12-09 09:56:39 +00:00
parent 67019e7f81
commit e242b6c447

View 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)