diff options
| -rw-r--r-- | lisp/textmodes/css-mode.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el index 11a77b5bb78..ae7b8eacd17 100644 --- a/lisp/textmodes/css-mode.el +++ b/lisp/textmodes/css-mode.el | |||
| @@ -845,6 +845,18 @@ cannot be completed sensibly: `custom-ident', | |||
| 845 | (let ((map (make-sparse-keymap))) | 845 | (let ((map (make-sparse-keymap))) |
| 846 | (define-key map [remap info-lookup-symbol] 'css-lookup-symbol) | 846 | (define-key map [remap info-lookup-symbol] 'css-lookup-symbol) |
| 847 | (define-key map "\C-c\C-f" 'css-cycle-color-format) | 847 | (define-key map "\C-c\C-f" 'css-cycle-color-format) |
| 848 | (easy-menu-define css-menu map "CSS mode menu" | ||
| 849 | '("CSS" | ||
| 850 | :help "CSS-specific features" | ||
| 851 | ["Reformat block" fill-paragraph | ||
| 852 | :help "Reformat declaration block or fill comment at point"] | ||
| 853 | ["Cycle color format" css-cycle-color-format | ||
| 854 | :help "Cycle color at point between different formats"] | ||
| 855 | "-" | ||
| 856 | ["Describe symbol" css-lookup-symbol | ||
| 857 | :help "Display documentation for a CSS symbol"] | ||
| 858 | ["Complete symbol" complete-symbol | ||
| 859 | :help "Complete symbol before point"])) | ||
| 848 | map) | 860 | map) |
| 849 | "Keymap used in `css-mode'.") | 861 | "Keymap used in `css-mode'.") |
| 850 | 862 | ||