emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master ea9982d: Fix build error: use string :version in de


From: Karl Fogel
Subject: [Emacs-diffs] master ea9982d: Fix build error: use string :version in defcustom
Date: Mon, 10 Sep 2018 13:24:07 -0400 (EDT)

branch: master
commit ea9982d262a9b528c832c38c6c05def6657d72d1
Author: Karl Fogel <address@hidden>
Commit: Karl Fogel <address@hidden>

    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.
---
 lisp/textmodes/flyspell.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/textmodes/flyspell.el b/lisp/textmodes/flyspell.el
index e5a7639..37f2245 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]