]> git.eshelyaron.com Git - emacs.git/commitdiff
(css): New custom group.
authorGlenn Morris <rgm@gnu.org>
Sat, 15 Sep 2007 20:45:41 +0000 (20:45 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 15 Sep 2007 20:45:41 +0000 (20:45 +0000)
(css-electrick-keys, css-selector, css-property)
(css-indent-offset): Specify custom group.

lisp/ChangeLog
lisp/textmodes/css-mode.el

index f610e1eaace77b2c2eaba1d22e8ffcd6359f64c6..ec8d271ae324d44824199962c7428d2d344734ca 100644 (file)
@@ -3,6 +3,13 @@
        * calendar/holidays.el (holiday-list): Rename it back to
        `list-holidays', but leave `holiday-list' as an alias.
 
+       * textmodes/bibtex-style.el (bibtex-style-indent-basic): Specify a
+       custom group.
+
+       * textmodes/css-mode.el (css): New custom group.
+       (css-electrick-keys, css-selector, css-property)
+       (css-indent-offset): Specify custom group.
+
 2007-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * pcvs.el (cvs-tags-list, cvs-retrieve-revision, cvs-find-modif)
index b00fc356cce342a82ff5bf7544d5c6efe4abf11b..e90fa6150390e3d4d2879529d13faf8ea7e52ba4 100644 (file)
 
 ;;; Code:
 
+(defgroup css nil
+  "Cascading Style Sheets (CSS) editing mode."
+  :group 'languages)
+
 (defun css-extract-keyword-list (res)
   (with-temp-buffer
     (url-insert-file-contents "http://www.w3.org/TR/REC-CSS2/css2.txt")
 (defcustom css-electrick-keys '(?\} ?\;) ;; '()
   "Self inserting keys which should trigger re-indentation."
   :type '(repeat character)
-  :options '((?\} ?\;)))
+  :options '((?\} ?\;))
+  :group 'css)
 
 (defvar css-mode-syntax-table
   (let ((st (make-syntax-table)))
 (defconst css-name-re (concat css-nmchar-re "+"))
 
 (defface css-selector '((t :inherit font-lock-function-name-face))
-  "Face to use for selectors.")
+  "Face to use for selectors."
+  :group 'css)
 (defface css-property '((t :inherit font-lock-variable-name-face))
-  "Face to use for properties.")
+  "Face to use for properties."
+  :group 'css)
 
 (defvar css-font-lock-keywords
   `(("!\\s-*important" . font-lock-builtin-face)
 
 (defcustom css-indent-offset 4
   "Basic size of one indentation step."
-  :type 'integer)
+  :type 'integer
+  :group 'css)
 
 (defun css-indent-calculate ()
   (let ((ppss (syntax-ppss))