diff options
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/faces.el | 7 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5bf133af77a..1ad086acf61 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * faces.el (face-name): Undo last change. | ||
| 4 | (x-resolve-font-name): Don't call face-name (bug#17956). | ||
| 5 | |||
| 1 | 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org> | 6 | 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org> |
| 2 | 7 | ||
| 3 | Fix dedenters and electric colon handling. (Bug#15163) | 8 | Fix dedenters and electric colon handling. (Bug#15163) |
diff --git a/lisp/faces.el b/lisp/faces.el index d0e768c834e..f316245d165 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -359,10 +359,7 @@ If `inhibit-x-resources' is non-nil, this function does nothing." | |||
| 359 | 359 | ||
| 360 | (defun face-name (face) | 360 | (defun face-name (face) |
| 361 | "Return the name of face FACE." | 361 | "Return the name of face FACE." |
| 362 | (check-face face) | 362 | (symbol-name (check-face face))) |
| 363 | (if (symbolp face) | ||
| 364 | (symbol-name face) | ||
| 365 | face)) | ||
| 366 | 363 | ||
| 367 | 364 | ||
| 368 | (defun face-all-attributes (face &optional frame) | 365 | (defun face-all-attributes (face &optional frame) |
| @@ -2734,8 +2731,6 @@ If PATTERN is nil, return the name of the frame's base font, which never | |||
| 2734 | contains wildcards. | 2731 | contains wildcards. |
| 2735 | Given optional arguments FACE and FRAME, return a font which is | 2732 | Given optional arguments FACE and FRAME, return a font which is |
| 2736 | also the same size as FACE on FRAME, or fail." | 2733 | also the same size as FACE on FRAME, or fail." |
| 2737 | (when face | ||
| 2738 | (setq face (face-name face))) | ||
| 2739 | (and (eq frame t) | 2734 | (and (eq frame t) |
| 2740 | (setq frame nil)) | 2735 | (setq frame nil)) |
| 2741 | (if pattern | 2736 | (if pattern |