all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* My uncomment-region broke
@ 2021-11-02 14:18 Ken Goldman
  2021-11-02 14:56 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ken Goldman @ 2021-11-02 14:18 UTC (permalink / raw)
  To: help-gnu-emacs

(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?




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-02 16:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-02 14:18 My uncomment-region broke Ken Goldman
2021-11-02 14:56 ` 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

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.