Skip to content

Instantly share code, notes, and snippets.

@jamescherti
Last active May 26, 2024 13:32
Show Gist options
  • Select an option

  • Save jamescherti/d4179eeece026081ac5d10d9eb1b25cf to your computer and use it in GitHub Desktop.

Select an option

Save jamescherti/d4179eeece026081ac5d10d9eb1b25cf to your computer and use it in GitHub Desktop.
Save
;; URL: https://gist.github.com/jamescherti/d4179eeece026081ac5d10d9eb1b25cf
;; License: MIT
;; Author: James Cherti
;;
;; Description:
;; Preserving Info-history-list across sessions using savehist or desktop.el
;; allows users to save and restore the links marked as "read" within the Info
;; system, providing a visual cue of which nodes have been visited.
;;
;; Info-history-list in Emacs is a variable that stores a list of previously
;; visited nodes in the Emacs Info documentation reader. Info-history-list is
;; particularly useful for tracking progress through extensive documentation,
;; helping users to easily identify what content they have already reviewed and
;; what remains to be read.
(add-to-list 'savehist-additional-variables 'Info-history-list)
(savehist-mode 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment