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: Eli Zaretskii
Subject: Re: Reset C-, only for the org-mode case
Date: Sun, 02 May 2021 09:35:39 +0300

> From: michael-franzese@gmx.com
> Date: Sat, 1 May 2021 22:20:08 +0200
> Sensitivity: Normal
> 
> Have been using the following keybindings to change the text height.
> 
> (global-set-key (kbd "C-,") 'text-scale-decrease)
> (global-set-key (kbd "C-.") 'text-scale-increase)
> 
> But in org-mode C-, is already being used for org-cycle-agenda-files
> 
> C-'
> C-, (org-cycle-agenda-files)
> 
> It was suggested to me that I can reset C-, and then apply my new keybinding
> to execute "text-scale-decrease".
> 
> I would like to reset C-, only for the org-mode case.  What can be done?

global-set-key changes the global binding, not the binding local to
Org mode.  I suggest to read the node "Rebinding" of the Emacs manual,
including "Init Rebinding" to which it cross-references, to understand
the difference between these two, and also learn how to solve your
particular problem.



reply via email to

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