Posted By

bigfaceworm on 08/21/09


Tagged

file load emacs LISP


Versions (?)

load-my-favorite-file


 / Published in: Emacs Lisp
 

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

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

  1. (defun load-my-favorite-file ()
  2. "Open my favorite file: ~.emacs.
  3. The function is poorly named, didn't really want to 'load' it, just open it."
  4. (interactive)
  5. (find-file "~/.emacs"))
  6.  
  7. (global-set-key (kbd "C-c e" 'load-my-favorite-file)

Report this snippet  

You need to login to post a comment.