From: Karl Fogel Date: Mon, 10 Sep 2018 17:17:06 +0000 (-0500) Subject: Fix build error: use string :version in defcustom X-Git-Tag: emacs-27.0.90~4441 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ea9982d262a9b528c832c38c6c05def6657d72d1;p=emacs.git Fix build error: use string :version in defcustom * lisp/textmodes/flyspell.el (flyspell-case-fold-duplications): Use a string value for the :version keyword to `defcustom'. Otherwise, building Emacs will fail with an error like this: Scanning ./textmodes for custom Scanning ./url for custom Scanning ./vc for custom Generating ./cus-load.el... Version must be a string make[2]: *** [Makefile:152: cus-load.el] Error 255 This follows up to Reuben Thomas's commit 61f3a4b4fc of 10 Sep 2018. --- diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el index e5a7639e204..37f2245eded 100644 --- a/lisp/textmodes/flyspell.el +++ b/lisp/textmodes/flyspell.el @@ -72,7 +72,7 @@ Detection of repeated words is not implemented in "Non-nil means Flyspell matches duplicate words case-insensitively." :group 'flyspell :type 'boolean - :version 27.1) + :version "27.1") (defcustom flyspell-mark-duplications-exceptions '((nil . ("that" "had")) ; Common defaults for English.