|
From: | Jean Louis |
Subject: | Re: Removing line and column number settings from some buffers |
Date: | Sat, 5 Dec 2020 21:57:24 +0300 |
User-agent: | Mutt/2.0 (3d08634) (2020-11-07) |
(defvar ring (ring-convert-sequence-to-ring '(nil t always))) (defvar current nil) (defun next () (interactive) (setq current (ring-next ring current)) (message "NOW: %s" current)) (defun previous () (interactive) (setq current (ring-previous ring current)) (message "NOW: %s" current)) > Sorry, typo. Variable `toto' should be variable `ring'. > (Or vice versa - there should be only one ring variable.) (previous) (next) Thank you. That built-in feature is great and I can use it for history in Hyperscope dynamic knowledge repository.
[Prev in Thread] | Current Thread | [Next in Thread] |