We Recommend

Pro JavaScript Techniques Pro JavaScript Techniques
Pro JavaScript Techniques is the ultimate JavaScript book for the modern web developer. It provides everything you need to know about modern JavaScript, and shows what JavaScript can do for your web sites. This book doesn't waste any time looking at things you already know, like basic syntax and structures.


Posted By

noah on 06/01/07


Tagged

emacs history logging utilities persistentel sousveillance


Versions (?)


Command to reload .emacs and save history with Persistent.el


Published in: Emacs Lisp 


Reload the .emacs file with a minimum of effort, first saving histories with Persistent. Requires the Persistent.el module.

  1. ;**********************************************************
  2. ;*
  3. ;* Reload the .emacs file with a minimum of effort,
  4. ;* first saving histories with Persistent
  5. ;*
  6. ;**********************************************************
  7. (defun reload () (interactive)
  8. "Reload c:/.emacs"
  9. (persistent-session-save-alist-to-file)
  10. (if (file-exists-p "~/.emacs")
  11. (load-file "~/.emacs")))

Report this snippet 

You need to login to post a comment.