diff options
author | Simen Heggestøyl <simenheg@gmail.com> | 2017-08-01 20:23:21 +0200 |
---|---|---|
committer | Simen Heggestøyl <simenheg@gmail.com> | 2017-08-15 12:29:10 +0200 |
commit | 85a9f42b6ca7711c64cbd3e4e261fae308eab9d3 (patch) | |
tree | 4d1f41c2dd840771610a1fb6f7fd126b499de23f /etc | |
parent | 3f887812e708123eca2f85cfbf5004e405aff914 (diff) | |
download | emacs-85a9f42b6ca7711c64cbd3e4e261fae308eab9d3.tar.gz |
Fixes and tweaks for the new Less CSS mode
* etc/NEWS: Add an entry for the new mode.
* lisp/textmodes/less-css-mode.el (less-css): Tweak docstring.
(less-css-lessc-command): Tweak docstring. Don't mark it as
safe. Don't autoload.
(less-css-compile-at-save, less-css-lessc-options)
(less-css-output-directory): Tweak docstrings. Don't autoload.
(less-css-output-file-name): Tweak docstring. Don't mark it as safe.
(less-css-input-file-name): Tweak docstring. Don't autoload.
(less-css-compile-maybe): Use `when' for one-armed `if'.
(less-css--output-path): Tweak docstring.
(less-css--maybe-shell-quote-command): Remove function.
(less-css-compile): Don't autoload. Tweak docstring and message. Fix
compiler warning. Use `string-join' instead of `mapconcat'.
(less-css-font-lock-keywords): Use `font-lock-variable-name-face' for
variables.
(less-css-mode-syntax-table, less-css-mode-map): New variables.
(less-css-mode): Change status line mode name from "LESS" to
"Less". Tweak docstring. Move syntax table definitions to
`less-css-mode-syntax-table'.
(less-css-indent-line): Remove function.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1106,6 +1106,9 @@ fontification, and commenting for embedded JavaScript and CSS. ** New minor mode 'pixel-scroll-mode' provides smooth pixel-level scrolling. +** New major mode 'less-css-mode' (a minor variant of 'css-mode') for +editing Less files. + * Incompatible Lisp Changes in Emacs 26.1 |