aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorJoakim Verona2013-01-10 00:04:21 +0100
committerJoakim Verona2013-01-10 00:04:21 +0100
commit09708f70bd02e7a2edec79e1bcfd04fb9b7f48d3 (patch)
tree9376433d772aa4a302b231af1c601bcb4440c9f1 /lisp/progmodes
parent0f9ee7aa0e6b57e28b31699a912356c24b959b01 (diff)
parent51fb5578777d1041feaab31651b65e09e1731d33 (diff)
downloademacs-09708f70bd02e7a2edec79e1bcfd04fb9b7f48d3.tar.gz
emacs-09708f70bd02e7a2edec79e1bcfd04fb9b7f48d3.zip
auto upstream
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/compile.el2
-rw-r--r--lisp/progmodes/flymake.el12
2 files changed, 11 insertions, 3 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 4194d363a3d..f6c43e2c392 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -1280,7 +1280,7 @@ to `compilation-error-regexp-alist' if RULES is nil."
1280 ;; whether or not omake's own error messages are recognized. 1280 ;; whether or not omake's own error messages are recognized.
1281 (cond 1281 (cond
1282 ((not (memq 'omake compilation-error-regexp-alist)) nil) 1282 ((not (memq 'omake compilation-error-regexp-alist)) nil)
1283 ((string-match "\\`\\([^^]\\|^\\( \\*\\|\\[\\)\\)" pat) 1283 ((string-match "\\`\\([^^]\\|\\^\\( \\*\\|\\[\\)\\)" pat)
1284 nil) ;; Not anchored or anchored but already allows empty spaces. 1284 nil) ;; Not anchored or anchored but already allows empty spaces.
1285 (t (setq pat (concat "^ *" (substring pat 1))))) 1285 (t (setq pat (concat "^ *" (substring pat 1)))))
1286 1286
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 7ca0ececa78..0f92df95a9d 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -844,13 +844,21 @@ Return t if it has at least one flymake overlay, nil if no overlay."
844 has-flymake-overlays)) 844 has-flymake-overlays))
845 845
846(defface flymake-errline 846(defface flymake-errline
847 '((t :inherit error)) 847 '((((supports :underline (:style wave)))
848 :underline (:style wave :color "Red1"))
849 (t
850 :inherit error))
848 "Face used for marking error lines." 851 "Face used for marking error lines."
852 :version "24.4"
849 :group 'flymake) 853 :group 'flymake)
850 854
851(defface flymake-warnline 855(defface flymake-warnline
852 '((t :inherit warning)) 856 '((((supports :underline (:style wave)))
857 :underline (:style wave :color "DarkOrange"))
858 (t
859 :inherit warning))
853 "Face used for marking warning lines." 860 "Face used for marking warning lines."
861 :version "24.4"
854 :group 'flymake) 862 :group 'flymake)
855 863
856(defun flymake-highlight-line (line-no line-err-info-list) 864(defun flymake-highlight-line (line-no line-err-info-list)