[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Reset C-, only for the org-mode case
From: |
Christopher Dimech |
Subject: |
Re: Reset C-, only for the org-mode case |
Date: |
Wed, 5 May 2021 08:30:29 +0200 |
> Sent: Tuesday, May 04, 2021 at 11:56 AM
> From: "Emanuel Berg via Users list for the GNU Emacs text editor"
> <help-gnu-emacs@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Reset C-, only for the org-mode case
>
> michael-franzese wrote:
>
> > Is it good enough?
> >
> > (define-key org-mode-map (kbd "C-,") 'undefined)
> > (define-key org-mode-map (kbd "C-,") 'text-scale-decrease)
"C-," in already bound in org-mode
> The first line doesn't do anything as you bind the same key to
> something else the second line.
>
> You can add a hash before function names, like this:
> #'text-scale-decrease
Was not aware one can use #' with emacs code, but only with user defined code.
> --
> underground experts united
> https://dataswamp.org/~incal
>
>
>
- Reset C-, only for the org-mode case, michael-franzese, 2021/05/01
- Re: Reset C-, only for the org-mode case, Eli Zaretskii, 2021/05/02
- Re: Reset C-, only for the org-mode case, michael-franzese, 2021/05/03
- Re: Reset C-, only for the org-mode case, Emanuel Berg, 2021/05/03
- Re: Reset C-, only for the org-mode case,
Christopher Dimech <=
- Re: Reset C-, only for the org-mode case, Emanuel Berg, 2021/05/05
- Re: Reset C-, only for the org-mode case, Christopher Dimech, 2021/05/05
- Re: Reset C-, only for the org-mode case, Emanuel Berg, 2021/05/05
- Re: Reset C-, only for the org-mode case, Christopher Dimech, 2021/05/05
- Re: Reset C-, only for the org-mode case, Emanuel Berg, 2021/05/05
- Re: Reset C-, only for the org-mode case, Christopher Dimech, 2021/05/05