aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorJuri Linkov2013-01-09 01:50:40 +0200
committerJuri Linkov2013-01-09 01:50:40 +0200
commit073ca75ba32d3b14aace7ad51c85f83be09376bd (patch)
tree2e39f88ccbef802d194aad2fc6df2eb67ed184c3 /lisp/progmodes
parent4bdc352611db6d7e9a11e75693e94dce61377d2e (diff)
downloademacs-073ca75ba32d3b14aace7ad51c85f83be09376bd.tar.gz
emacs-073ca75ba32d3b14aace7ad51c85f83be09376bd.zip
* lisp/textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
* lisp/progmodes/flymake.el (flymake-errline, flymake-warnline): Use underline style wave on terminals that support it. * src/xfaces.c (tty_supports_face_attributes_p): Return 0 for the case of (supports :underline (:style wave)). Fixes: debbugs:13000
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/flymake.el12
1 files changed, 10 insertions, 2 deletions
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)