lisp/newcomment.el (uncomment-region-default): Remove unused binding.
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 21 Feb 2012 14:48:13 +0000 (15:48 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 21 Feb 2012 14:48:13 +0000 (15:48 +0100)
lisp/ChangeLog
lisp/newcomment.el

index 5cb9afc..af4d233 100644 (file)
@@ -1,3 +1,7 @@
+2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
+
+       * newcomment.el (uncomment-region-default): Remove unused binding.
+
 2012-02-21  Glenn Morris  <rgm@gnu.org>
 
        * textmodes/picture.el (picture-motion, picture-motion-reverse)
index 16282af..41b5041 100644 (file)
@@ -224,7 +224,7 @@ ALIGN specifies that the `comment-end' markers should be aligned.
      /* bli */
   if `comment-end' is empty, this has no effect, unless EXTRA is also set,
   in which case the comment gets wrapped in a box.
-  
+
 EXTRA specifies that an extra line should be used before and after the
   region to comment (to put the `comment-end' and `comment-start').
   e.g. in C it comments regions as
@@ -872,8 +872,8 @@ comment markers."
          (when (and sre (looking-at (concat "\\s-*\n\\s-*" srei)))
            (goto-char (match-end 0)))
          (if (null arg) (delete-region (point-min) (point))
-            (let* ((opoint (point-marker))
-                   (nchar (skip-syntax-backward " ")))
+            (let ((opoint (point-marker)))
+              (skip-syntax-backward " ")
               (delete-char (- numarg))
               (unless (and (not (bobp))
                            (save-excursion (goto-char (point-min))