diff options
| author | Romain Francoise | 2005-10-27 18:22:00 +0000 |
|---|---|---|
| committer | Romain Francoise | 2005-10-27 18:22:00 +0000 |
| commit | 1e0ab2f03b2152281ffb06349a4a12b60f48b991 (patch) | |
| tree | 480c5b8e58f15cc7d521e26bbb435293b0db8a8b /lisp | |
| parent | c809f7cc8ed4b07d70cb6c87aab20277d947e928 (diff) | |
| download | emacs-1e0ab2f03b2152281ffb06349a4a12b60f48b991.tar.gz emacs-1e0ab2f03b2152281ffb06349a4a12b60f48b991.zip | |
(occur-engine): Include colon in mouse-face highlight.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/replace.el | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d2237e78de2..bec0931bfb6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2005-10-27 Romain Francoise <romain@orebokech.com> | 1 | 2005-10-27 Romain Francoise <romain@orebokech.com> |
| 2 | 2 | ||
| 3 | * replace.el (occur-engine): Include colon in mouse-face highlight. | ||
| 4 | |||
| 3 | * dired-x.el: Change Maintainer field. | 5 | * dired-x.el: Change Maintainer field. |
| 4 | 6 | ||
| 5 | 2005-10-26 Chong Yidong <cyd@stupidchicken.com> | 7 | 2005-10-26 Chong Yidong <cyd@stupidchicken.com> |
diff --git a/lisp/replace.el b/lisp/replace.el index bb72acdf2cf..31963f7538c 100644 --- a/lisp/replace.el +++ b/lisp/replace.el | |||
| @@ -1125,18 +1125,17 @@ See also `multi-occur'." | |||
| 1125 | (let* ((out-line | 1125 | (let* ((out-line |
| 1126 | (concat | 1126 | (concat |
| 1127 | ;; Using 7 digits aligns tabs properly. | 1127 | ;; Using 7 digits aligns tabs properly. |
| 1128 | (apply #'propertize (format "%7d" lines) | 1128 | (apply #'propertize (format "%7d:" lines) |
| 1129 | (append | 1129 | (append |
| 1130 | (when prefix-face | 1130 | (when prefix-face |
| 1131 | `(font-lock-face prefix-face)) | 1131 | `(font-lock-face prefix-face)) |
| 1132 | `(occur-prefix t mouse-face highlight | 1132 | `(occur-prefix t mouse-face (highlight) |
| 1133 | occur-target ,marker follow-link t | 1133 | occur-target ,marker follow-link t |
| 1134 | help-echo "mouse-2: go to this occurrence"))) | 1134 | help-echo "mouse-2: go to this occurrence"))) |
| 1135 | ":" | ||
| 1136 | ;; We don't put `mouse-face' on the newline, | 1135 | ;; We don't put `mouse-face' on the newline, |
| 1137 | ;; because that loses. And don't put it | 1136 | ;; because that loses. And don't put it |
| 1138 | ;; on context lines to reduce flicker. | 1137 | ;; on context lines to reduce flicker. |
| 1139 | (propertize curstring 'mouse-face 'highlight | 1138 | (propertize curstring 'mouse-face (list 'highlight) |
| 1140 | 'occur-target marker | 1139 | 'occur-target marker |
| 1141 | 'follow-link t | 1140 | 'follow-link t |
| 1142 | 'help-echo | 1141 | 'help-echo |