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:
parent
67019e7f81
commit
e242b6c447
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user