From a9f8706fa8fba5289e910fd55841b0952410d558 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Simen=20Heggest=C3=B8yl?= Date: Thu, 2 Nov 2017 20:29:06 +0100 Subject: [PATCH] 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. --- lisp/textmodes/css-mode.el | 1 + 1 file changed, 1 insertion(+) 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." :exit-function ,(lambda (string status) (and (eq status 'finished) + (eolp) prop-table (test-completion string prop-table) (not (and sel-table -- 2.11.4.GIT