diff options
| author | Simen Heggestøyl | 2017-11-02 20:29:06 +0100 |
|---|---|---|
| committer | Simen Heggestøyl | 2017-11-02 20:39:39 +0100 |
| commit | a9f8706fa8fba5289e910fd55841b0952410d558 (patch) | |
| tree | e76c3bd01224f835042ba2e84634625ceccf567c | |
| parent | 9031dec527a9feb6c3ceff95be9da98d90818afe (diff) | |
| download | emacs-a9f8706fa8fba5289e910fd55841b0952410d558.tar.gz emacs-a9f8706fa8fba5289e910fd55841b0952410d558.zip | |
Fix completion of colon after CSS property (Bug#29056)
* lisp/textmodes/css-mode.el (css-completion-at-point): Don't insert
": ;" after completing a CSS property unless the rest of the line is
empty.
| -rw-r--r-- | lisp/textmodes/css-mode.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index 39885c10860..1de4ff0fca9 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el | |||
| @@ -1375,6 +1375,7 @@ tags, classes and IDs." | |||
| 1375 | :exit-function | 1375 | :exit-function |
| 1376 | ,(lambda (string status) | 1376 | ,(lambda (string status) |
| 1377 | (and (eq status 'finished) | 1377 | (and (eq status 'finished) |
| 1378 | (eolp) | ||
| 1378 | prop-table | 1379 | prop-table |
| 1379 | (test-completion string prop-table) | 1380 | (test-completion string prop-table) |
| 1380 | (not (and sel-table | 1381 | (not (and sel-table |