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.