Return to Snippet

Revision: 17055
at August 21, 2009 14:41 by bigfaceworm


Initial Code
(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)

Initial URL
http://stackoverflow.com/questions/41522/tips-for-learning-elisp/59589#59589

Initial Description
Answer to one of the examples here: http://stackoverflow.com/questions/41522/tips-for-learning-elisp/59589#59589

Initial Title
load-my-favorite-file

Initial Tags
file, load

Initial Language
Emacs Lisp