diff options
| -rw-r--r-- | lisp/textmodes/css-mode.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index 0d1eeed5611..748a561bab5 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el | |||
| @@ -1357,7 +1357,9 @@ the string PROPERTY." | |||
| 1357 | (defun css--complete-property-value () | 1357 | (defun css--complete-property-value () |
| 1358 | "Complete property value at point." | 1358 | "Complete property value at point." |
| 1359 | (let ((property (and (looking-back "\\([[:alnum:]-]+\\):[^/][^;]*" | 1359 | (let ((property (and (looking-back "\\([[:alnum:]-]+\\):[^/][^;]*" |
| 1360 | (line-beginning-position) t) | 1360 | (or (ppss-innermost-start (syntax-ppss)) |
| 1361 | (point-min)) | ||
| 1362 | t) | ||
| 1361 | (member (match-string-no-properties 1) | 1363 | (member (match-string-no-properties 1) |
| 1362 | css-property-ids)))) | 1364 | css-property-ids)))) |
| 1363 | (when property | 1365 | (when property |