summaryrefslogtreecommitdiff
path: root/lisp/replace.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2005-08-09 11:29:18 +0000
committerRichard M. Stallman <rms@gnu.org>2005-08-09 11:29:18 +0000
commit882effdb17c9755edd6f064be58d87d5b8911d9b (patch)
tree4ca1389328ecca3b0c8521799ed0063bec7b8069 /lisp/replace.el
parenta7384d3dc10a20c87888c6f67b1fc3622dc9db60 (diff)
downloademacs-882effdb17c9755edd6f064be58d87d5b8911d9b.tar.gz
(occur-engine): Initial *Occur* output not undoable.
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 6ce961c28a7..ea1bd53e688 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -1061,6 +1061,8 @@ See also `multi-occur'."
title-face prefix-face match-face keep-props)
(with-current-buffer out-buf
(let ((globalcount 0)
+ ;; Don't generate undo entries for creation of the initial contents.
+ (buffer-undo-list t)
(coding nil))
;; Map over all the buffers
(dolist (buf buffers)