diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2007-03-08 15:17:42 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2007-03-08 15:17:42 +0000 |
commit | 8121414a6a17e7eeb95b430c61d02c1b2d0bd587 (patch) | |
tree | e571500b1bcab8059df93feec230df7d4ed9e682 | |
parent | a06494d047e0276dad65a9818b0272a5a41e34b2 (diff) | |
download | emacs-8121414a6a17e7eeb95b430c61d02c1b2d0bd587.tar.gz |
(occur-engine): buffer-undo-list binding moved...
(occur-1): ...to here.
-rw-r--r-- | lisp/replace.el | 6 |
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'." (with-current-buffer occur-buf (occur-mode) - (let ((inhibit-read-only t)) + (let ((inhibit-read-only t) + ;; Don't generate undo entries for creation of the initial contents. + (buffer-undo-list t)) (erase-buffer) (let ((count (occur-engine regexp active-bufs occur-buf @@ -1086,8 +1088,6 @@ 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) |