diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-07-01 15:18:14 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-07-01 15:18:14 +0200 |
commit | d7d502df035d05b82bed3bf9d1ada2aafaaa0fcd (patch) | |
tree | b36eec95c58964b2ea6e429ddc7372124ed8fbe3 /elisp/geiser-doc.el | |
parent | 096dfb84f6ca774c7f241b9ea446b510bbbccaf5 (diff) | |
download | geiser-guile-d7d502df035d05b82bed3bf9d1ada2aafaaa0fcd.tar.gz geiser-guile-d7d502df035d05b82bed3bf9d1ada2aafaaa0fcd.tar.bz2 |
Preventing session.el messing up with geiser-doc--history
Session seems to be recovering the value of geiser-doc--history
badly (see issue #7 for @achitu's discoveries), and since it is, in
fact, not a good idea to save it anyway, we've added an eval-on-load
deregistering the variable from session's list.
Diffstat (limited to 'elisp/geiser-doc.el')
-rw-r--r-- | elisp/geiser-doc.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/elisp/geiser-doc.el b/elisp/geiser-doc.el index 9d2f98a..7e2970b 100644 --- a/elisp/geiser-doc.el +++ b/elisp/geiser-doc.el @@ -1,6 +1,6 @@ ;;; geiser-doc.el -- accessing scheme-provided documentation -;; Copyright (C) 2009, 2010, 2011, 2012 Jose Antonio Ortega Ruiz +;; Copyright (C) 2009, 2010, 2011, 2012, 2013 Jose Antonio Ortega Ruiz ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the Modified BSD License. You should @@ -62,6 +62,9 @@ help (e.g. browse an HTML page) implementing this method.") (setq geiser-doc--history (geiser-doc--make-history)) +(eval-after-load "session.el" + '(add-to-list 'session-globals-exclude 'geiser-doc--history)) + (defsubst geiser-doc--history-current () (car geiser-doc--history)) |