diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-11-04 15:06:02 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-11-04 15:06:02 -0500 |
commit | c93f3f5c5c7d682faf14f908e960632f451cb847 (patch) | |
tree | 77dab63d1a942536d0ab15cdbee26bd19a294a25 /lisp/emacs-lisp | |
parent | 0ade65b530469a4c6a7d22d3be14f62f0ae8a790 (diff) | |
download | emacs-c93f3f5c5c7d682faf14f908e960632f451cb847.tar.gz emacs-c93f3f5c5c7d682faf14f908e960632f451cb847.tar.bz2 emacs-c93f3f5c5c7d682faf14f908e960632f451cb847.zip |
* lisp/emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/byte-run.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el index 0bb04950dfd..7ec24cc2aad 100644 --- a/lisp/emacs-lisp/byte-run.el +++ b/lisp/emacs-lisp/byte-run.el @@ -118,6 +118,7 @@ the FUN corresponding to PROP is called with the function name and the VALUES and should return the code to use to set this property.") (put 'defmacro 'doc-string-elt 3) +(put 'defmacro 'lisp-indent-function 2) (defalias 'defmacro (cons 'macro @@ -179,7 +180,7 @@ The return value is undefined. ;; (defun foo (arg) (toto) nil) ;; from ;; (defun foo (arg) (toto)). - (declare (doc-string 3)) + (declare (doc-string 3) (indent 2)) (let ((decls (cond ((eq (car-safe docstring) 'declare) (prog1 (cdr docstring) (setq docstring nil))) |