diff options
| author | Juri Linkov | 2013-01-09 01:50:40 +0200 |
|---|---|---|
| committer | Juri Linkov | 2013-01-09 01:50:40 +0200 |
| commit | 073ca75ba32d3b14aace7ad51c85f83be09376bd (patch) | |
| tree | 2e39f88ccbef802d194aad2fc6df2eb67ed184c3 /lisp/textmodes | |
| parent | 4bdc352611db6d7e9a11e75693e94dce61377d2e (diff) | |
| download | emacs-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/textmodes')
| -rw-r--r-- | lisp/textmodes/flyspell.el | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index 7e692960dbc..fe2f808c594 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el | |||
| @@ -445,13 +445,23 @@ like <img alt=\"Some thing.\">." | |||
| 445 | ;;*---------------------------------------------------------------------*/ | 445 | ;;*---------------------------------------------------------------------*/ |
| 446 | ;;* Highlighting */ | 446 | ;;* Highlighting */ |
| 447 | ;;*---------------------------------------------------------------------*/ | 447 | ;;*---------------------------------------------------------------------*/ |
| 448 | (defface flyspell-incorrect '((t :underline t :inherit error)) | 448 | (defface flyspell-incorrect |
| 449 | '((((supports :underline (:style wave))) | ||
| 450 | :underline (:style wave :color "Red1")) | ||
| 451 | (t | ||
| 452 | :underline t :inherit error)) | ||
| 449 | "Flyspell face for misspelled words." | 453 | "Flyspell face for misspelled words." |
| 454 | :version "24.4" | ||
| 450 | :group 'flyspell) | 455 | :group 'flyspell) |
| 451 | 456 | ||
| 452 | (defface flyspell-duplicate '((t :underline t :inherit warning)) | 457 | (defface flyspell-duplicate |
| 458 | '((((supports :underline (:style wave))) | ||
| 459 | :underline (:style wave :color "DarkOrange")) | ||
| 460 | (t | ||
| 461 | :underline t :inherit warning)) | ||
| 453 | "Flyspell face for words that appear twice in a row. | 462 | "Flyspell face for words that appear twice in a row. |
| 454 | See also `flyspell-duplicate-distance'." | 463 | See also `flyspell-duplicate-distance'." |
| 464 | :version "24.4" | ||
| 455 | :group 'flyspell) | 465 | :group 'flyspell) |
| 456 | 466 | ||
| 457 | (defvar flyspell-overlay nil) | 467 | (defvar flyspell-overlay nil) |