aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2007-03-08 15:17:42 +0000
committerChong Yidong2007-03-08 15:17:42 +0000
commit8121414a6a17e7eeb95b430c61d02c1b2d0bd587 (patch)
treee571500b1bcab8059df93feec230df7d4ed9e682
parenta06494d047e0276dad65a9818b0272a5a41e34b2 (diff)
downloademacs-8121414a6a17e7eeb95b430c61d02c1b2d0bd587.tar.gz
emacs-8121414a6a17e7eeb95b430c61d02c1b2d0bd587.zip
(occur-engine): buffer-undo-list binding moved...
(occur-1): ...to here.
-rw-r--r--lisp/replace.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 5b970681ea7..9e45e3479c3 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -1049,7 +1049,9 @@ See also `multi-occur'."
1049 1049
1050 (with-current-buffer occur-buf 1050 (with-current-buffer occur-buf
1051 (occur-mode) 1051 (occur-mode)
1052 (let ((inhibit-read-only t)) 1052 (let ((inhibit-read-only t)
1053 ;; Don't generate undo entries for creation of the initial contents.
1054 (buffer-undo-list t))
1053 (erase-buffer) 1055 (erase-buffer)
1054 (let ((count (occur-engine 1056 (let ((count (occur-engine
1055 regexp active-bufs occur-buf 1057 regexp active-bufs occur-buf
@@ -1086,8 +1088,6 @@ See also `multi-occur'."
1086 title-face prefix-face match-face keep-props) 1088 title-face prefix-face match-face keep-props)
1087 (with-current-buffer out-buf 1089 (with-current-buffer out-buf
1088 (let ((globalcount 0) 1090 (let ((globalcount 0)
1089 ;; Don't generate undo entries for creation of the initial contents.
1090 (buffer-undo-list t)
1091 (coding nil)) 1091 (coding nil))
1092 ;; Map over all the buffers 1092 ;; Map over all the buffers
1093 (dolist (buf buffers) 1093 (dolist (buf buffers)