all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Wenjamin Petrenko <wenjamin.petrenko@yandex.ru>
To: 20630@debbugs.gnu.org
Subject: bug#20630: 25.0.50; Filesets are not saved to .emacs with filesets-save-config
Date: Sat, 08 Sep 2018 18:40:17 +0300	[thread overview]
Message-ID: <31561381536421217@iva8-8d7a47df0521.qloud-c.yandex.net> (raw)
In-Reply-To: <1432291597.2550485.275579625.1455024F@webmail.messagingengine.com>

[-- Attachment #1: Type: text/plain, Size: 15 bytes --]

Here's a patch.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: fix-bug-20630.patch --]
[-- Type: text/x-diff; name="fix-bug-20630.patch", Size: 1001 bytes --]

From 5d44116430badf1da81827f4c19e0bdd2c4adf43 Mon Sep 17 00:00:00 2001
From: Wenjamin Petrenko <wenjamin.petrenko@yandex.ru>
Date: Sat, 8 Sep 2018 17:27:56 +0300
Subject: [PATCH] Make `filesets-save-config' save filesets added by `filesets-add-buffer'

* lisp/filesets.el (filesets-set-config): Use `customize-set-variable'
so that filesets are saved by `customize-save-customized' in
`filesets-save-config' (Bug#20630).
---
 lisp/filesets.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/filesets.el b/lisp/filesets.el
index 63f7c75b65..c1e6ef10d5 100644
--- a/lisp/filesets.el
+++ b/lisp/filesets.el
@@ -242,8 +242,7 @@ key is supported."
 (defun filesets-set-config (fileset var val)
   "Set-default wrapper function."
   (filesets-reset-fileset fileset)
-  (set-default var val))
-;  (customize-set-variable var val))
+  (customize-set-variable var val))
 ;  (filesets-build-menu))
 
 ;; It seems this is a workaround for the XEmacs issue described in the
-- 
2.17.1


  reply	other threads:[~2018-09-08 15:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-22 10:46 bug#20630: 25.0.50; Filesets are not saved to .emacs with filesets-save-config Mihai Olteanu
2018-09-08 15:40 ` Wenjamin Petrenko [this message]
2018-09-15  9:34   ` Eli Zaretskii

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=31561381536421217@iva8-8d7a47df0521.qloud-c.yandex.net \
    --to=wenjamin.petrenko@yandex.ru \
    --cc=20630@debbugs.gnu.org \
    /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.