aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorStefan Monnier2012-05-17 21:46:20 -0400
committerStefan Monnier2012-05-17 21:46:20 -0400
commitb581bb5c8ac2aed4a610097aaaca4a8d354fe9b4 (patch)
tree3fac722bbeb0fdf55dc40e414732a3867f29c9e1 /lisp/progmodes
parent70b8ef8f7855b9983d17731acad2fdfb4fb2a5be (diff)
downloademacs-b581bb5c8ac2aed4a610097aaaca4a8d354fe9b4.tar.gz
emacs-b581bb5c8ac2aed4a610097aaaca4a8d354fe9b4.zip
* lisp/emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
their respective macro declarations. * lisp/skeleton.el (define-skeleton): * lisp/progmodes/compile.el (define-compilation-mode): * lisp/ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op) (define-ibuffer-filter): * lisp/emacs-lisp/generic.el (define-generic-mode): * lisp/emacs-lisp/easy-mmode.el (define-minor-mode) (define-globalized-minor-mode): * lisp/emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype): * lisp/emacs-lisp/byte-run.el (defsubst): * lisp/custom.el (deftheme): Add doc-string metadata.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/compile.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 7ffaddb2c49..fe1b63f3048 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -1884,6 +1884,9 @@ Runs `compilation-mode-hook' with `run-mode-hooks' (which see).
1884 (setq buffer-read-only t) 1884 (setq buffer-read-only t)
1885 (run-mode-hooks 'compilation-mode-hook)) 1885 (run-mode-hooks 'compilation-mode-hook))
1886 1886
1887;;;###autoload
1888(put 'define-compilation-mode 'doc-string-elt 3)
1889
1887(defmacro define-compilation-mode (mode name doc &rest body) 1890(defmacro define-compilation-mode (mode name doc &rest body)
1888 "This is like `define-derived-mode' without the PARENT argument. 1891 "This is like `define-derived-mode' without the PARENT argument.
1889The parent is always `compilation-mode' and the customizable `compilation-...' 1892The parent is always `compilation-mode' and the customizable `compilation-...'