aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorJoakim Verona2011-08-22 21:58:42 +0200
committerJoakim Verona2011-08-22 21:58:42 +0200
commit478018d61a93447cfb85e66aaa656357ba120021 (patch)
tree4421dcb17a170ee775bc7ddc1ffe3f1844d3bb93 /lisp
parent31cb6a3b9092712bab0a1821e72e3b61b7105087 (diff)
parentdac347dd4a459bbbd7274f106797201e6e420701 (diff)
downloademacs-478018d61a93447cfb85e66aaa656357ba120021.tar.gz
emacs-478018d61a93447cfb85e66aaa656357ba120021.zip
upstream
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/minibuffer.el22
-rw-r--r--lisp/progmodes/compile.el2
3 files changed, 9 insertions, 19 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bfcbaa27b6f..4c7306174d6 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,9 @@
12011-08-22 Juri Linkov <juri@jurta.org> 12011-08-22 Juri Linkov <juri@jurta.org>
2 2
3 * progmodes/compile.el (compilation-mode-font-lock-keywords):
4 Revert regexp that highlights output switches to its old
5 pre-2010-10-28 value and remove one `?' from it (bug#9319).
6
3 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p' 7 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
4 to check for empty output (bug#9226). 8 to check for empty output (bug#9226).
5 9
diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index b82147b97f1..313298de97e 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -1119,27 +1119,13 @@ It also eliminates runs of equal strings."
1119 `(display (space :align-to ,column))) 1119 `(display (space :align-to ,column)))
1120 nil)))) 1120 nil))))
1121 (if (not (consp str)) 1121 (if (not (consp str))
1122 (put-text-property (point) 1122 (put-text-property (point) (progn (insert str) (point))
1123 (progn
1124 (insert (bidi-string-mark-left-to-right
1125 str))
1126 (point))
1127 'mouse-face 'highlight) 1123 'mouse-face 'highlight)
1128 (put-text-property (point) 1124 (put-text-property (point) (progn (insert (car str)) (point))
1129 (progn
1130 (insert
1131 (bidi-string-mark-left-to-right
1132 (car str)))
1133 (point))
1134 'mouse-face 'highlight) 1125 'mouse-face 'highlight)
1135 (add-text-properties (point) 1126 (add-text-properties (point) (progn (insert (cadr str)) (point))
1136 (progn
1137 (insert
1138 (bidi-string-mark-left-to-right
1139 (cadr str)))
1140 (point))
1141 '(mouse-face nil 1127 '(mouse-face nil
1142 face completions-annotations))) 1128 face completions-annotations)))
1143 (cond 1129 (cond
1144 ((eq completions-format 'vertical) 1130 ((eq completions-format 'vertical)
1145 ;; Vertical format 1131 ;; Vertical format
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 2fb0ac879b2..79fec080d57 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -523,7 +523,7 @@ you may also want to change `compilation-page-delimiter'.")
523 ;; Command output lines. Recognize `make[n]:' lines too. 523 ;; Command output lines. Recognize `make[n]:' lines too.
524 ("^\\([[:alnum:]_/.+-]+\\)\\(\\[\\([0-9]+\\)\\]\\)?[ \t]*:" 524 ("^\\([[:alnum:]_/.+-]+\\)\\(\\[\\([0-9]+\\)\\]\\)?[ \t]*:"
525 (1 font-lock-function-name-face) (3 compilation-line-face nil t)) 525 (1 font-lock-function-name-face) (3 compilation-line-face nil t))
526 (" -\\(?:o[= ]?\\|-\\(?:outfile\\|output\\)[= ]\\)\\(\\S +\\)" . 1) 526 (" --?o\\(?:utfile\\|utput\\)?[= ]\\(\\S +\\)" . 1)
527 ("^Compilation \\(finished\\).*" 527 ("^Compilation \\(finished\\).*"
528 (0 '(face nil compilation-message nil help-echo nil mouse-face nil) t) 528 (0 '(face nil compilation-message nil help-echo nil mouse-face nil) t)
529 (1 compilation-info-face)) 529 (1 compilation-info-face))