From 248d67f7632c191cf97955d346915736692bda72 Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Fri, 2 Oct 2020 15:09:00 +0200 Subject: Add doc-string to geiser-custom--defcustom Also add a FIXME comment about how this macro isn't actually needed. --- elisp/geiser-custom.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'elisp') diff --git a/elisp/geiser-custom.el b/elisp/geiser-custom.el index 8d04885..8095863 100644 --- a/elisp/geiser-custom.el +++ b/elisp/geiser-custom.el @@ -50,6 +50,12 @@ (add-to-list 'geiser-custom--memoized-vars name)) (defmacro geiser-custom--defcustom (name &rest body) + "Like `defcustom' but also put NAME on an internal list. +That list is used by `geiser-reload' to preserve the values +of the listed variables. It is not used for anything else." + ;; FIXME Remembering the value like this is not actually + ;; necessary. Evaluting `defcustom' always preserves the + ;; existing value, if any. (declare (doc-string 3) (debug (name body))) `(progn (geiser-custom--memoize ',name) -- cgit v1.2.3