2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
+ * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
+
* electric.el (electric-indent-post-self-insert-function):
Only delete trailing whitepsace if it is indeed trailing (bug#15767).
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
;; (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)))