diff options
| author | Glenn Morris | 2014-07-12 10:53:29 -0700 |
|---|---|---|
| committer | Glenn Morris | 2014-07-12 10:53:29 -0700 |
| commit | b39c4d7b33952e0125fbefbcb3d9f528b6570f40 (patch) | |
| tree | 17fd0630dacfe29b0c2486b9f5c923293e872a70 /lisp/faces.el | |
| parent | 2a0bae50e3611a6bd2d584f7a85677b74f1aa71b (diff) | |
| parent | fb02552638b0c653bfc3d269d879fdffba37bd31 (diff) | |
| download | emacs-b39c4d7b33952e0125fbefbcb3d9f528b6570f40.tar.gz emacs-b39c4d7b33952e0125fbefbcb3d9f528b6570f40.zip | |
Merge from emacs-24; up to 2014-06-22T05:00:14Z!dmantipov@yandex.ru
Diffstat (limited to 'lisp/faces.el')
| -rw-r--r-- | lisp/faces.el | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lisp/faces.el b/lisp/faces.el index bb77af0425e..d9239d9e1eb 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -370,10 +370,7 @@ If `inhibit-x-resources' is non-nil, this function does nothing." | |||
| 370 | 370 | ||
| 371 | (defun face-name (face) | 371 | (defun face-name (face) |
| 372 | "Return the name of face FACE." | 372 | "Return the name of face FACE." |
| 373 | (check-face face) | 373 | (symbol-name (check-face face))) |
| 374 | (if (symbolp face) | ||
| 375 | (symbol-name face) | ||
| 376 | face)) | ||
| 377 | 374 | ||
| 378 | 375 | ||
| 379 | (defun face-all-attributes (face &optional frame) | 376 | (defun face-all-attributes (face &optional frame) |
| @@ -2749,8 +2746,6 @@ If PATTERN is nil, return the name of the frame's base font, which never | |||
| 2749 | contains wildcards. | 2746 | contains wildcards. |
| 2750 | Given optional arguments FACE and FRAME, return a font which is | 2747 | Given optional arguments FACE and FRAME, return a font which is |
| 2751 | also the same size as FACE on FRAME, or fail." | 2748 | also the same size as FACE on FRAME, or fail." |
| 2752 | (when face | ||
| 2753 | (setq face (face-name face))) | ||
| 2754 | (and (eq frame t) | 2749 | (and (eq frame t) |
| 2755 | (setq frame nil)) | 2750 | (setq frame nil)) |
| 2756 | (if pattern | 2751 | (if pattern |