summaryrefslogtreecommitdiff
path: root/lisp/newcomment.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2002-09-11 09:31:55 +0000
committerJuanma Barranquero <lekktu@gmail.com>2002-09-11 09:31:55 +0000
commit68c57458eb3be06b7ff3201799547417329c3d92 (patch)
treee243441957dd2a02400155cac202406d1cf2bef5 /lisp/newcomment.el
parent2655c6f1c9fb0f930906e61b41333e552740fa85 (diff)
downloademacs-68c57458eb3be06b7ff3201799547417329c3d92.tar.gz
(uncomment-region): Fix let/let* use.
Diffstat (limited to 'lisp/newcomment.el')
-rw-r--r--lisp/newcomment.el28
1 files changed, 14 insertions, 14 deletions
diff --git a/lisp/newcomment.el b/lisp/newcomment.el
index 01cf5bdaa86..51dd4c5c20e 100644
--- a/lisp/newcomment.el
+++ b/lisp/newcomment.el
@@ -622,22 +622,22 @@ comment markers."
(save-excursion
(goto-char beg)
(setq end (copy-marker end))
- (let ((numarg (prefix-numeric-value arg))
- (ccs comment-continue)
- (srei (comment-padright ccs 're))
- (sre (and srei (concat "^\\s-*?\\(" srei "\\)")))
- spt)
+ (let* ((numarg (prefix-numeric-value arg))
+ (ccs comment-continue)
+ (srei (comment-padright ccs 're))
+ (sre (and srei (concat "^\\s-*?\\(" srei "\\)")))
+ spt)
(while (and (< (point) end)
(setq spt (comment-search-forward end t)))
- (let* ((ipt (point))
- ;; Find the end of the comment.
- (ept (progn
- (goto-char spt)
- (unless (comment-forward)
- (error "Can't find the comment end"))
- (point)))
- (box nil)
- (box-equal nil)) ;Whether we might be using `=' for boxes.
+ (let ((ipt (point))
+ ;; Find the end of the comment.
+ (ept (progn
+ (goto-char spt)
+ (unless (comment-forward)
+ (error "Can't find the comment end"))
+ (point)))
+ (box nil)
+ (box-equal nil)) ;Whether we might be using `=' for boxes.
(save-restriction
(narrow-to-region spt ept)