]> git.eshelyaron.com Git - emacs.git/commit
Add completion of `calc()' in CSS mode
authorSimen Heggestøyl <simenheg@gmail.com>
Tue, 26 Apr 2016 18:37:56 +0000 (20:37 +0200)
committerSimen Heggestøyl <simenheg@gmail.com>
Tue, 26 Apr 2016 18:41:04 +0000 (20:41 +0200)
commit07d729130e5774fc484ba324d9149d4c6f008260
tree21927947ef5fb41df1b1359bf27b5085e41aa0c6
parent40a03df45353692f73364e488c962f1a7cf2e8bc
Add completion of `calc()' in CSS mode

* lisp/textmodes/css-mode.el (css-value-class-alist): Add `calc()' as
a completion candidate for several value classes.
(css--value-class-lookup): Return only unique results.

* test/lisp/textmodes/css-mode-tests.el
(css-test-property-values-no-duplicates)
(css-test-value-class-lookup): Update to reflect the above changes.
lisp/textmodes/css-mode.el
test/lisp/textmodes/css-mode-tests.el