[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there any unbackslash-region command in emacs?
From: |
Daniel Martín |
Subject: |
Re: Is there any unbackslash-region command in emacs? |
Date: |
Fri, 02 Jul 2021 11:14:14 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (darwin) |
mrf <joinlaw@cock.li> writes:
> Hi,
>
> When I work on long C macros I use
>
> M-x c-backslash-region
>
> // even makefile-backslash-region working in c-mode
>
> after writing it but sometimes I want to convert preprocessor function
> to symbolic function so I can do recursion and to do that I remove
> backslashes with C-x SPC (rectangle-mark-mode).
>
> what I'm asking for is quick command to remove this backslashes like the
> comment and uncomment commands:
>
> M-x comment-region
>
> M-x uncomment-region
Did you try C-u M-x c-backslash-region? The docstring says that, with an
argument, the command will remove the backslashes.