mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
css--complete-property-value: Limit the backward search
* lisp/textmodes/css-mode.el (css--complete-property-value): Don't search back when ppss-innermost-start is nil (bug#44214).
This commit is contained in:
parent
9944385cfb
commit
2efff5e61c
1 changed files with 1 additions and 1 deletions
|
|
@ -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))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue