G'day! it's my "learn some more Elisp" day.
I'm trying to make a shortcut that opens my main org file. I've made it this far
(global-set-key (kbd "C-c h") 'switch-to-most-recent-org-file) (defun switch-to-most-recent-org-file () (interactive) (message "hi"))
(message "hi"), I want emacs to switch to the .org file
in the Buffer List. Sometimes there will be multiple .org files in
the Buffer List, in that case go for the one at the top.