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: Emanuel Berg
Subject: Re: Reset C-, only for the org-mode case
Date: Tue, 04 May 2021 01:56:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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)

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

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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