diff options
| author | Andreas Schwab | 2011-04-30 19:57:07 +0200 |
|---|---|---|
| committer | Andreas Schwab | 2011-04-30 19:57:07 +0200 |
| commit | dcb79f208ab9e2e1e8e0d4e9810ca25c1a660eaf (patch) | |
| tree | d7561bf84dbb9681308b0f2ddf8e8d99e734fc02 | |
| parent | cb79b8c0517a92f93539db030db694b293fd8706 (diff) | |
| download | emacs-dcb79f208ab9e2e1e8e0d4e9810ca25c1a660eaf.tar.gz emacs-dcb79f208ab9e2e1e8e0d4e9810ca25c1a660eaf.zip | |
* lisp/faces.el (face-spec-set-match-display): Don't match toolkit
options on terminal frames.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/faces.el | 24 |
2 files changed, 17 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 71c7eedb335..d0f08795ed3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-04-30 Andreas Schwab <schwab@linux-m68k.org> | ||
| 2 | |||
| 3 | * faces.el (face-spec-set-match-display): Don't match toolkit | ||
| 4 | options on terminal frames. | ||
| 5 | |||
| 1 | 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * progmodes/pascal.el: Use lexical binding. | 8 | * progmodes/pascal.el: Use lexical binding. |
diff --git a/lisp/faces.el b/lisp/faces.el index e7cfa200602..3fb8bc80931 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -1451,18 +1451,18 @@ If FRAME is nil, the current FRAME is used." | |||
| 1451 | ;; of supported colors, and all defface's | 1451 | ;; of supported colors, and all defface's |
| 1452 | ;; are changed to look at number of colors | 1452 | ;; are changed to look at number of colors |
| 1453 | ;; instead of (type graphic) etc. | 1453 | ;; instead of (type graphic) etc. |
| 1454 | (and (null (window-system frame)) | 1454 | (if (null (window-system frame)) |
| 1455 | (memq 'tty options)) | 1455 | (memq 'tty options) |
| 1456 | (and (memq 'motif options) | 1456 | (or (and (memq 'motif options) |
| 1457 | (featurep 'motif)) | 1457 | (featurep 'motif)) |
| 1458 | (and (memq 'gtk options) | 1458 | (and (memq 'gtk options) |
| 1459 | (featurep 'gtk)) | 1459 | (featurep 'gtk)) |
| 1460 | (and (memq 'lucid options) | 1460 | (and (memq 'lucid options) |
| 1461 | (featurep 'x-toolkit) | 1461 | (featurep 'x-toolkit) |
| 1462 | (not (featurep 'motif)) | 1462 | (not (featurep 'motif)) |
| 1463 | (not (featurep 'gtk))) | 1463 | (not (featurep 'gtk))) |
| 1464 | (and (memq 'x-toolkit options) | 1464 | (and (memq 'x-toolkit options) |
| 1465 | (featurep 'x-toolkit)))) | 1465 | (featurep 'x-toolkit)))))) |
| 1466 | ((eq req 'min-colors) | 1466 | ((eq req 'min-colors) |
| 1467 | (>= (display-color-cells frame) (car options))) | 1467 | (>= (display-color-cells frame) (car options))) |
| 1468 | ((eq req 'class) | 1468 | ((eq req 'class) |