diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-21 16:57:55 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-21 16:57:55 +0100 |
commit | 2a689bed9602ed18e3001099e33cd3d87feb92c1 (patch) | |
tree | 9ef869da9a335d4d622f29e16b63a08e19bb19cd /elisp/geiser-doc.el | |
parent | 3747ea2183ab9d87360ece8e8b92505b122fae4c (diff) | |
download | geiser-2a689bed9602ed18e3001099e33cd3d87feb92c1.tar.gz geiser-2a689bed9602ed18e3001099e33cd3d87feb92c1.tar.bz2 |
CLisms removed
Diffstat (limited to 'elisp/geiser-doc.el')
-rw-r--r-- | elisp/geiser-doc.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/elisp/geiser-doc.el b/elisp/geiser-doc.el index 3778770..7462c4a 100644 --- a/elisp/geiser-doc.el +++ b/elisp/geiser-doc.el @@ -44,12 +44,15 @@ ;;; Documentation browser history: (defvar geiser-doc-history-size 50) +(defvar geiser-doc--history nil) (defun geiser-doc--make-history () (list nil ; current (make-ring geiser-doc-history-size) ; previous (make-ring geiser-doc-history-size))) ; next +(setq geiser-doc--history (geiser-doc--make-history)) + (defsubst geiser-doc--history-current () (car geiser-doc--history)) @@ -82,9 +85,6 @@ (ring-insert (nth 2 geiser-doc--history) (car geiser-doc--history))) (setcar geiser-doc--history (ring-remove (nth 1 geiser-doc--history) 0)))) -(defvar geiser-doc--history nil) -(setq geiser-doc--history (geiser-doc--make-history)) - ;;; Links |