Subject: bug#20630: 25.0.50; Filesets are not saved to .emacs with filesets-save-config

From: Wenjamin Petrenko <[email-masked]>
Date: Sat, 08 Sep 2018 18:40:17 +0300

Here's a patch.

From 5d44116430badf1da81827f4c19e0bdd2c4adf43 Mon Sep 17 00:00:00 2001
From: Wenjamin Petrenko <[email-masked]>
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