]> git.eshelyaron.com Git - emacs.git/commit
Complete CSS property values less eagerly (Bug#27392)
authorSimen Heggestøyl <simenheg@gmail.com>
Sat, 17 Jun 2017 07:28:43 +0000 (09:28 +0200)
committerSimen Heggestøyl <simenheg@gmail.com>
Sat, 17 Jun 2017 08:38:29 +0000 (10:38 +0200)
commit8960f6aa36000a8d6014e0c7371ee96ba148965a
tree5c59504139d772abd49885af93f38c745bfbf025
parent27c194995b460b79e8e62e0d21e85d87df664649
Complete CSS property values less eagerly (Bug#27392)

* lisp/textmodes/css-mode.el (css--complete-property-value): Be less
eager by looking for a colon after the property which values are being
completed for.

* test/lisp/textmodes/css-mode-tests.el (css-test-complete-property):
Add a test case ensuring that properties that are prefixes of other
properties don't hinder further completion.
lisp/textmodes/css-mode.el
test/lisp/textmodes/css-mode-tests.el