summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@mumble.net>2011-03-23 04:36:46 +0000
committerTaylor R Campbell <campbell@mumble.net>2011-03-23 04:36:46 +0000
commit4800e25a741198a6b1758cf6b17f8ed89552bebb (patch)
tree302a8ddfe4346bc84e24cb6a695e41fe45e778a6
parent33f9c67177dc129a050e7ec1e8f3d98e7469e1e3 (diff)
Use `let*' rather than `let' in `paredit-indent-sexps'.
Ignore-this: 18cf22cb9511351b0d547a2337357c96 There is no semantic difference here in elisp, since elisp guarantees left-to-right evaluation order in `let', but using `let*' makes it clearer that there is an intended ordering dependency. darcs-hash:20110323043646-00fcc-fddfd7cf6d1d67eea90fa03627a510d7c82432b4
-rw-r--r--paredit.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/paredit.el b/paredit.el
index 76e16bb..01aacb3 100644
--- a/paredit.el
+++ b/paredit.el
@@ -2459,8 +2459,8 @@ Assumes that `paredit-in-string-p' is false, so that it need not handle
(defun paredit-indent-sexps ()
"If in a list, indent all following S-expressions in the list."
- (let ((start (point))
- (end (paredit-handle-sexp-errors (progn (up-list) (point)) nil)))
+ (let* ((start (point))
+ (end (paredit-handle-sexp-errors (progn (up-list) (point)) nil)))
(if end
(indent-region start end))))