/ Published in: Emacs Lisp
Answer to one of the examples here: http://stackoverflow.com/questions/41522/tips-for-learning-elisp/59589#59589
- (defun load-my-favorite-file ()
- "Open my favorite file: ~.emacs.
- The function is poorly named, didn't really want to 'load' it, just open it."
- (find-file "~/.emacs"))
- (global-set-key (kbd "C-c e" 'load-my-favorite-file)
You need to login to post a comment.