Posted By

noah on 06/02/07


Tagged

emacs history useful logging


Versions (?)

Persistent.el configuration


 / Published in: Emacs Lisp
 

Configure the Persistent.el module. Persistent.el allows emacs to remember command histories across sessions.

  1. ;;set up persistent.el
  2. ;;to remember histories across emacs sessions
  3. (setq persistent-session-list `(read-expression-history
  4. extended-command-history
  5. find-tag-history
  6. query-replace-history
  7. grep-history
  8. file-name-history
  9. compile-history
  10. kill-ring
  11. replace-string-history
  12. replace-regex-history
  13. query-replace-regex-history
  14. minibuffer-history
  15. shell-command-history
  16. buffer-name-history
  17. find-file-history
  18. ))
  19. (require `persistent)
  20. (persistent-session-load-from-alist)
  21. (setq persistent-session-size 500)

Report this snippet  

You need to login to post a comment.