summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2000-01-28 22:14:30 +0000
committerDave Love <fx@gnu.org>2000-01-28 22:14:30 +0000
commit05c7103660d89227c489e61bc8328ea26ea11629 (patch)
tree979953eaef2cfb3a6a699691051af4f58101946b /lisp/emacs-lisp
parentba5494eb571a56caa9adabdb01b706a080579f7a (diff)
downloademacs-05c7103660d89227c489e61bc8328ea26ea11629.tar.gz
emacs-05c7103660d89227c489e61bc8328ea26ea11629.tar.bz2
emacs-05c7103660d89227c489e61bc8328ea26ea11629.zip
Add indent specs for dolist, dotimes, when, unless.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/lisp-mode.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index 6d4bfc871ca..d08ef0660a3 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -767,6 +767,10 @@ is the buffer position of the start of the containing expression."
(put 'unwind-protect 'lisp-indent-function 1)
(put 'with-output-to-temp-buffer 'lisp-indent-function 1)
(put 'eval-after-load 'lisp-indent-function 1)
+(put 'dolist 'lisp-indent-function 1)
+(put 'dotimes 'lisp-indent-function 1)
+(put 'when 'lisp-indent-function 1)
+(put 'unless 'lisp-indent-function 1)
(defun indent-sexp (&optional endpos)
"Indent each line of the list starting just after point.