help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

My uncomment-region broke


From: Ken Goldman
Subject: My uncomment-region broke
Date: Tue, 2 Nov 2021 10:18:08 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.1

(defun uncomment-region (b e)
  "Remove one level of comment around region."
  (interactive "r")
  (comment-region b e -1))

I've been using this for years.  I select a region with the
mouse and this uncomments it.  With new emacs, I get

comment-region-default-1: Wrong number of arguments: (lambda (b e) "Remove one level of 
comment around region." (interactive "r") (comment-region b e -1)), 3

I'm not an elisp programmer.  Can someone supply a replacement?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]