I've seen both of these methods used to define/re-define keys
in org-agenda mode:
--------------- hook-way -------------------------
(add-hook 'org-agenda-mode-hook
'(lambda ()
(define-key org-agenda-mode-map "w" 'org-agenda-refile)
))
--------------- another way ----------------
(org-defkey org-agenda-mode-map "w" 'org-agenda-refile)
Is there an advantage to using one way versus the other?
Seems like the second way is simpler.
Thanks,
--Nate
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode