From: Ken Goldman <kgoldman@us.ibm.com>
To: help-gnu-emacs@gnu.org
Subject: My uncomment-region broke
Date: Tue, 2 Nov 2021 10:18:08 -0400 [thread overview]
Message-ID: <slrhb1$l5g$1@ciao.gmane.io> (raw)
(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?
next reply other threads:[~2021-11-02 14:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-02 14:18 Ken Goldman [this message]
2021-11-02 14:56 ` My uncomment-region broke Eli Zaretskii
2021-11-02 15:14 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-11-02 16:10 ` Ken Goldman
2021-11-02 15:17 ` Stephen Berman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='slrhb1$l5g$1@ciao.gmane.io' \
--to=kgoldman@us.ibm.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.