Commit 9d5906d9 authored by Simen Heggestøyl's avatar Simen Heggestøyl

Add a menu bar menu for CSS mode

* lisp/textmodes/css-mode.el (css-mode-map): Add menu bar menu.
parent 3e8aad77
Pipeline #1810 failed with stage
in 90 minutes and 1 second
......@@ -845,6 +845,18 @@ cannot be completed sensibly: `custom-ident',
(let ((map (make-sparse-keymap)))
(define-key map [remap info-lookup-symbol] 'css-lookup-symbol)
(define-key map "\C-c\C-f" 'css-cycle-color-format)
(easy-menu-define css-menu map "CSS mode menu"
'("CSS"
:help "CSS-specific features"
["Reformat block" fill-paragraph
:help "Reformat declaration block or fill comment at point"]
["Cycle color format" css-cycle-color-format
:help "Cycle color at point between different formats"]
"-"
["Describe symbol" css-lookup-symbol
:help "Display documentation for a CSS symbol"]
["Complete symbol" complete-symbol
:help "Complete symbol before point"]))
map)
"Keymap used in `css-mode'.")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment