diff options
| author | Kenichi Handa | 2008-08-06 12:19:35 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2008-08-06 12:19:35 +0000 |
| commit | e83eedbf8dc964366e4efe39a4f1fc7a412c1b42 (patch) | |
| tree | 981812a83bef682f4ebdebaa7d340e12f29cac8c | |
| parent | 295b47d8c594eabd110e08c6e6462f1200e5b89e (diff) | |
| download | emacs-e83eedbf8dc964366e4efe39a4f1fc7a412c1b42.tar.gz emacs-e83eedbf8dc964366e4efe39a4f1fc7a412c1b42.zip | |
(face-valid-attribute-values): Fix handling the value
of (font-family-list) and font-XXX-table.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/faces.el | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b60e3a75929..f7a67ae83a9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-08-06 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * faces.el (face-valid-attribute-values): Fix handling the value | ||
| 4 | of (font-family-list) and font-XXX-table. | ||
| 5 | |||
| 1 | 2008-08-06 Dan Nicolaescu <dann@ics.uci.edu> | 6 | 2008-08-06 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 7 | ||
| 3 | * proced.el (proced-menu): Bind the correct function to for toggling. | 8 | * proced.el (proced-menu): Bind the correct function to for toggling. |
diff --git a/lisp/faces.el b/lisp/faces.el index 76bb02939f5..4151885819e 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -978,20 +978,20 @@ an integer value." | |||
| 978 | (case attribute | 978 | (case attribute |
| 979 | (:family | 979 | (:family |
| 980 | (if (window-system frame) | 980 | (if (window-system frame) |
| 981 | (mapcar #'(lambda (x) (cons (car x) (car x))) | 981 | (mapcar #'(lambda (x) (cons (symbol-name x) x)) |
| 982 | (font-family-list)) | 982 | (font-family-list)) |
| 983 | ;; Only one font on TTYs. | 983 | ;; Only one font on TTYs. |
| 984 | (list (cons "default" "default")))) | 984 | (list (cons "default" "default")))) |
| 985 | (:foundry | 985 | (:foundry |
| 986 | (list nil)) | 986 | (list nil)) |
| 987 | (:width | 987 | (:width |
| 988 | (mapcar #'(lambda (x) (cons (symbol-name (car x)) (car x))) | 988 | (mapcar #'(lambda (x) (cons (symbol-name (aref x 1)) (aref x 1))) |
| 989 | font-width-table)) | 989 | font-width-table)) |
| 990 | (:weight | 990 | (:weight |
| 991 | (mapcar #'(lambda (x) (cons (symbol-name (car x)) (car x))) | 991 | (mapcar #'(lambda (x) (cons (symbol-name (aref x 1)) (aref x 1))) |
| 992 | font-weight-table)) | 992 | font-weight-table)) |
| 993 | (:slant | 993 | (:slant |
| 994 | (mapcar #'(lambda (x) (cons (symbol-name (car x)) (car x))) | 994 | (mapcar #'(lambda (x) (cons (symbol-name (aref x 1)) (aref x 1))) |
| 995 | font-slant-table)) | 995 | font-slant-table)) |
| 996 | (:inverse-video | 996 | (:inverse-video |
| 997 | (mapcar #'(lambda (x) (cons (symbol-name x) x)) | 997 | (mapcar #'(lambda (x) (cons (symbol-name x) x)) |