/ Published in: Emacs Lisp
Answer to one of the examples here: http://stackoverflow.com/questions/41522/tips-for-learning-elisp/59589#59589
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
(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." (interactive) (find-file "~/.emacs")) (global-set-key (kbd "C-c e" 'load-my-favorite-file)
URL: http://stackoverflow.com/questions/41522/tips-for-learning-elisp/59589#59589