Subject: Re: bug#27363: 26.0.50; Error with customize-group

From: Simen Heggestøyl <[email-masked]>
Date: Fri, 16 Jun 2017 19:34:27 +0200

On Thu, Jun 15, 2017 at 12:37 AM, Glenn Morris <[email-masked]> wrote:
> This is the same thing as http://debbugs.gnu.org/25640; ie fallout 
> from
> plist-put changes.
> 
> Although the :options field for css-electric-keys seems pointless 
> anyway,
> since the repeat type doesn't support it. (Same for 
> compilation-environment.)

Right. Does the attached patch look sufficient?

-- Simen
>From bdbb0ea2ea88c507fadb971cdd68c2dc6002c77f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simen=20Heggest=C3=B8yl?= <[email-masked]>
Date: Fri, 16 Jun 2017 19:24:31 +0200
Subject: [PATCH] Remove meaningless :options usage in defcustoms
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The :options keyword argument isn’t currently meaningful for the
repeat type.

* lisp/progmodes/compile.el (compilation-environment):
* lisp/textmodes/css-mode.el (css-electric-keys): Remove :options
argument.
---
 lisp/progmodes/compile.el  | 1 -
 lisp/textmodes/css-mode.el | 1 -
 2 files changed, 2 deletions(-)

diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 31ec5a67d0..29ed0f1523 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -732,7 +732,6 @@ compilation-environment
 This list is temporarily prepended to `process-environment' prior to
 starting the compilation process."
   :type '(repeat (string :tag "ENVVARNAME=VALUE"))
-  :options '(("LANG=C"))
   :group 'compilation
   :version "24.1")
 
diff --git a/lisp/textmodes/css-mode.el b/lisp/textmodes/css-mode.el
index 0beaaaa32f..e657abc959 100644
--- a/lisp/textmodes/css-mode.el
+++ b/lisp/textmodes/css-mode.el
@@ -764,7 +764,6 @@ css-electric-keys
   "Self inserting keys which should trigger re-indentation."
   :version "22.2"
   :type '(repeat character)
-  :options '((?\} ?\;))
   :group 'css)
 
 (defvar css-mode-syntax-table
-- 
2.11.0