diff lisp/emacs-lisp/lisp-mode.el @ 49522:4dd5da1ea3dc

* font-lock.el (lisp-font-lock-keywords-1): Match `deftheme'. * emacs-lisp/lisp-mode.el (toplevel): Define docstring offset for `deftheme'. Fix docstring offsets for `define-ibuffer-filter' and `define-ibuffer-sorter'. (lisp-imenu-generic-expression): Add `deftheme' to types. * custom.el (customize-mark-to-save, customize-mark-as-set) (custom-remove-theme): Doc fixes.
author John Paul Wallington <jpw@pobox.com>
date Wed, 29 Jan 2003 21:45:07 +0000
parents ebfdb0351da6
children 0d8b17d428b5
line wrap: on
line diff
--- a/lisp/emacs-lisp/lisp-mode.el	Wed Jan 29 21:44:18 2003 +0000
+++ b/lisp/emacs-lisp/lisp-mode.el	Wed Jan 29 21:45:07 2003 +0000
@@ -107,9 +107,9 @@
 	 (purecopy (concat "^\\s-*("
 			   (eval-when-compile
 			     (regexp-opt
-			      '("defgroup" "deftype" "defstruct" "defclass"
-				"define-condition" "define-widget" "defface"
-				"defpackage") t))
+			      '("defgroup" "deftheme" "deftype" "defstruct"
+				"defclass" "define-condition" "define-widget"
+				"defface" "defpackage") t))
 			   "\\s-+'?\\(\\sw\\(\\sw\\|\\s_\\)+\\)"))
 	 2))
 
@@ -121,6 +121,7 @@
 (put 'defun*    'doc-string-elt 3)
 (put 'defvar   'doc-string-elt 3)
 (put 'defcustom 'doc-string-elt 3)
+(put 'deftheme 'doc-string-elt 2)
 (put 'defconst 'doc-string-elt 3)
 (put 'defmacro 'doc-string-elt 3)
 (put 'defmacro* 'doc-string-elt 3)
@@ -132,9 +133,9 @@
 (put 'define-generic-mode 'doc-string-elt 7)
 ;; define-global-mode has no explicit docstring.
 (put 'easy-mmode-define-global-mode 'doc-string-elt 0)
-(put 'define-ibuffer-filter 'doc-string-elt 3)
+(put 'define-ibuffer-filter 'doc-string-elt 2)
 (put 'define-ibuffer-op 'doc-string-elt 3)
-(put 'define-ibuffer-sorter 'doc-string-elt 3)
+(put 'define-ibuffer-sorter 'doc-string-elt 2)
 
 (defun lisp-font-lock-syntactic-face-function (state)
   (if (nth 3 state)