From 882effdb17c9755edd6f064be58d87d5b8911d9b Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 9 Aug 2005 11:29:18 +0000 Subject: [PATCH] (occur-engine): Initial *Occur* output not undoable. --- lisp/replace.el | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.39.2