aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/replace.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/replace.el')
-rw-r--r--lisp/replace.el12
1 files changed, 7 insertions, 5 deletions
diff --git a/lisp/replace.el b/lisp/replace.el
index 5b970681ea7..a42f4ff4b57 100644
--- a/lisp/replace.el
+++ b/lisp/replace.el
@@ -849,10 +849,12 @@ Compatibility function for \\[next-error] invocations."
849 849
850(defface match 850(defface match
851 '((((class color) (min-colors 88) (background light)) 851 '((((class color) (min-colors 88) (background light))
852 :background "Tan") 852 :background "yellow")
853 (((class color) (min-colors 88) (background dark)) 853 (((class color) (min-colors 88) (background dark))
854 :background "RoyalBlue3") 854 :background "RoyalBlue3")
855 (((class color) (min-colors 8)) 855 (((class color) (min-colors 8) (background light))
856 :background "yellow" :foreground "black")
857 (((class color) (min-colors 8) (background dark))
856 :background "blue" :foreground "white") 858 :background "blue" :foreground "white")
857 (((type tty) (class mono)) 859 (((type tty) (class mono))
858 :inverse-video t) 860 :inverse-video t)
@@ -1049,7 +1051,9 @@ See also `multi-occur'."
1049 1051
1050 (with-current-buffer occur-buf 1052 (with-current-buffer occur-buf
1051 (occur-mode) 1053 (occur-mode)
1052 (let ((inhibit-read-only t)) 1054 (let ((inhibit-read-only t)
1055 ;; Don't generate undo entries for creation of the initial contents.
1056 (buffer-undo-list t))
1053 (erase-buffer) 1057 (erase-buffer)
1054 (let ((count (occur-engine 1058 (let ((count (occur-engine
1055 regexp active-bufs occur-buf 1059 regexp active-bufs occur-buf
@@ -1086,8 +1090,6 @@ See also `multi-occur'."
1086 title-face prefix-face match-face keep-props) 1090 title-face prefix-face match-face keep-props)
1087 (with-current-buffer out-buf 1091 (with-current-buffer out-buf
1088 (let ((globalcount 0) 1092 (let ((globalcount 0)
1089 ;; Don't generate undo entries for creation of the initial contents.
1090 (buffer-undo-list t)
1091 (coding nil)) 1093 (coding nil))
1092 ;; Map over all the buffers 1094 ;; Map over all the buffers
1093 (dolist (buf buffers) 1095 (dolist (buf buffers)