[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: My uncomment-region broke
From: |
Stefan Monnier |
Subject: |
Re: My uncomment-region broke |
Date: |
Tue, 02 Nov 2021 11:14:53 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Ken Goldman [2021-11-02 10:18:08] wrote:
> (defun uncomment-region (b e)
> "Remove one level of comment around region."
> (interactive "r")
> (comment-region b e -1))
This redefines Emacs's built-in `uncomment-region`, and does it in an
incompatible way.
> I'm not an elisp programmer. Can someone supply a replacement?
The empty string is a good replacement ;-)
Stefan