projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9944385
)
css--complete-property-value: Limit the backward search
author
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 28 Oct 2020 01:43:47 +0000
(
03:43
+0200)
committer
Dmitry Gutov
<dgutov@yandex.ru>
Wed, 28 Oct 2020 01:43:47 +0000
(
03:43
+0200)
* lisp/textmodes/css-mode.el (css--complete-property-value):
Don't search back when ppss-innermost-start is nil (bug#44214).
lisp/textmodes/css-mode.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/css-mode.el
b/lisp/textmodes/css-mode.el
index 748a561bab5ec9c6ede1a28369ad732d7711bc38..747657b1ed595f82c560c268da4dd51f1d8f92e3 100644
(file)
--- a/
lisp/textmodes/css-mode.el
+++ b/
lisp/textmodes/css-mode.el
@@
-1358,7
+1358,7
@@
the string PROPERTY."
"Complete property value at point."
(let ((property (and (looking-back "\\([[:alnum:]-]+\\):[^/][^;]*"
(or (ppss-innermost-start (syntax-ppss))
- (point
-min
))
+ (point))
t)
(member (match-string-no-properties 1)
css-property-ids))))