Mercurial > emacs
diff lisp/replace.el @ 76392:8d2b12834458
(occur-engine): buffer-undo-list binding moved...
(occur-1): ...to here.
| author | Chong Yidong <cyd@stupidchicken.com> |
|---|---|
| date | Thu, 08 Mar 2007 15:17:42 +0000 |
| parents | 628675607c39 |
| children | 08ea848cd1f3 8c2ef9d5d4a8 |
line wrap: on
line diff
--- a/lisp/replace.el Thu Mar 08 15:17:34 2007 +0000 +++ b/lisp/replace.el Thu Mar 08 15:17:42 2007 +0000 @@ -1049,7 +1049,9 @@ (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 @@ 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)
