all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Jean Louis <bugs@gnu.support>
Cc: 44152@debbugs.gnu.org
Subject: bug#44152: 28.0.50; GNU ELPA persist: variables not saved
Date: Tue, 07 Jun 2022 12:25:49 +0200	[thread overview]
Message-ID: <871qw0n51u.fsf@gnus.org> (raw)
In-Reply-To: <courier.000000005F91E2D1.00004312@static.rcdrun.com> (Jean Louis's message of "Thu, 22 Oct 2020 22:51:41 +0300")

Jean Louis <bugs@gnu.support> writes:

> (require 'persist)
> (persist-defvar my-var "anything" "Example")
>
> When I do the above and exit Emacs, I cannot see my-var in ~/.emacs.d

Variables that have their default values are not saved -- you have to
change the value for persist to do anything.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      parent reply	other threads:[~2022-06-07 10:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-22 19:51 bug#44152: 28.0.50; GNU ELPA persist: variables not saved Jean Louis
2021-10-11 12:53 ` Stefan Kangas
2022-06-07 10:25 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871qw0n51u.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=44152@debbugs.gnu.org \
    --cc=bugs@gnu.support \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.