[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to re-bind C-,?
From: |
Grant Rettke |
Subject: |
Re: [O] How to re-bind C-,? |
Date: |
Fri, 26 Sep 2014 15:06:29 -0500 |
On Fri, Sep 26, 2014 at 12:17 PM, Jorge A. Alfaro-Murillo
<address@hidden> wrote:
> Grant Rettke writes:
> For me `org-cycle-agenda-files' is bound to C-', not C-, maybe you have
> something that sets C-' to C-, globally?
Definitely, here in my .emacs.el:
╭────
│ (global-set-key (kbd "C-;") 'vc-next-action)
│ (global-set-key (kbd "C-'") 'er/expand-region)
╰────
I /thought/ that was *OK*. Later in the `org-mode-hook' function I call:
╭────
│ (local-set-key (kbd "C-,") (lambda () (interactive) (insert " \\larr ")))
│ (local-set-key (kbd "C-.") (lambda () (interactive) (insert " \\rarr ")))
╰────
The help documentation for `org-cycle-agenda-files' says:
C-, runs the command org-cycle-agenda-files, which is an
interactive autoloaded compiled Lisp function in `org.el'.
It is bound to C-', C-,, <menu-bar> <Org> <File List for
Agenda> <Cycle through agenda files>.
What I am stumped on is:
• What did I do wrong?
• How do I fix it?