help-gnu-emacs
[Top][All Lists]
Advanced

[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
>
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]