Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
26b69522
Commit
26b69522
authored
Nov 16, 2015
by
Artur Malabarba
Browse files
* lisp/faces.el (faces--attribute-at-point): Use `face-list-p'
parent
31fc0567
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
lisp/faces.el
lisp/faces.el
+1
-3
No files found.
lisp/faces.el
View file @
26b69522
...
...
@@ -1971,9 +1971,7 @@ unnamed faces (e.g, `foreground-color')."
(
get-char-property
(
point
)
'font-lock-face
))
(
get-char-property
(
point
)
'face
)))
(
found
nil
))
;; The attribute might be a face, a list of faces, or a list of
;; attributes that make a face. Normalize it to a list of faces.
(
dolist
(
face
(
if
(
and
(
listp
faces
)
(
facep
(
car
faces
)))
(
dolist
(
face
(
if
(
face-list-p
faces
)
faces
(
list
faces
)))
(
cond
(
found
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment