From: Simen Heggestøyl Date: Thu, 2 Nov 2017 19:29:06 +0000 (+0100) Subject: Fix completion of colon after CSS property (Bug#29056) X-Git-Tag: emacs-26.0.91~410 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a9f8706fa8fba5289e910fd55841b0952410d558;p=emacs.git 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. --- 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