summaryrefslogtreecommitdiff
path: root/lisp/newcomment.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2002-09-11 09:32:07 +0000
committerJuanma Barranquero <lekktu@gmail.com>2002-09-11 09:32:07 +0000
commit4679af47c14f53c45f500ac9e9d4fd07d96d1baa (patch)
treeadce5f2cb0597deb54e21a27e2d35a11ad68de53 /lisp/newcomment.el
parentcf681de6e5fe3919f94e742662d0aaefe296f286 (diff)
downloademacs-4679af47c14f53c45f500ac9e9d4fd07d96d1baa.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)