gnu: Add emacs-persist.

* gnu/packages/emacs-xyz.scm (emacs-persist): New variable.
This commit is contained in:
Robert Smith 2020-02-14 17:59:18 +01:00 committed by Nicolas Goaziou
parent f98e83a17f
commit db9979e7f9
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -58,6 +58,7 @@
;;; Copyright © 2019 Leo Prikler <leo.prikler@student.tugraz.at>
;;; Copyright © 2019 David Wilson <david@daviwil.com>
;;; Copyright © 2020 Paul Garlick <pgarlick@tourbillion-technology.com>
;;; Copyright © 2020 Robert Smith <robertsmith@posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@ -21455,3 +21456,24 @@ (define-public emacs-auto-dictionary-mode
language. Auto-dictionary then sets @code{ispell-dictionary} to use the
detected language.")
(license license:gpl2+)))
(define-public emacs-persist
(package
(name "emacs-persist")
(version "0.4")
(source
(origin
(method url-fetch)
(uri (string-append "https://elpa.gnu.org/packages/"
"persist-" version ".tar"))
(sha256
(base32 "0gpxy41qawzss2526j9a7lys60vqma1lvamn4bfabwza7gfhac0q"))))
(build-system emacs-build-system)
(home-page "http://elpa.gnu.org/packages/persist.html")
(synopsis "Persist variables between Emacs sessions")
(description
"This package provides variables which persist across sessions.
Values are stored in a directory in @code{user-emacs-directory}, using
one file per value. This makes it easy to delete or remove unused
variables.")
(license license:gpl3+)))