I have a macro I'd like to have at C+'
, and org-mode remaps this to org-cycle-agenda-files
for any .org
buffer, any idea to to prevent this?
Asked
Active
Viewed 431 times
4

Nikana Reklawyks
- 3,233
- 3
- 33
- 49

Yaroslav Bulatov
- 57,332
- 22
- 139
- 197
-
3For a more comprehensive solution to precedence issues with custom keybindings, see http://stackoverflow.com/questions/683425/globally-override-key-binding-in-emacs/5340797 – phils Oct 08 '12 at 22:57
1 Answers
5
I used to have :
(defun org-mode-is-intrusive ()
;; Make something work in org-mode:
;; (local-unset-key (kbd "something I use"))
(local-unset-key (kbd "C-'"))
)
(add-hook 'org-mode-hook 'org-mode-is-intrusive)
in my .emacs
to deal with such annoyances.

Nikana Reklawyks
- 3,233
- 3
- 33
- 49