emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/cus-start.el,v


From: Katsumi Yamaoka
Subject: [Emacs-diffs] Changes to emacs/lisp/cus-start.el,v
Date: Mon, 09 Jul 2007 01:27:16 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Katsumi Yamaoka <yamaoka>       07/07/09 01:27:16

Index: cus-start.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/cus-start.el,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -b -r1.102 -r1.103
--- cus-start.el        8 Jul 2007 23:41:26 -0000       1.102
+++ cus-start.el        9 Jul 2007 01:27:15 -0000       1.103
@@ -116,8 +116,7 @@
              mule
              (alist
               :key-type (regexp :tag "File regexp")
-              :value-type
-              (choice
+              :value-type (choice
                :value (undecided . undecided)
                (cons :tag "Encoding/decoding pair"
                      :value (undecided . undecided)
@@ -126,15 +125,8 @@
                (coding-system
                 :tag "Single coding system"
                 :value undecided
-                :validate
-                (lambda (widget)
-                  (unless (or (coding-system-p (widget-value widget))
-                              (functionp (widget-value widget)))
-                    (widget-put
-                     widget
-                     :error (format "Invalid coding system: %S"
-                                    (widget-value widget)))
-                    widget)))
+                            :match (lambda (widget value)
+                                     (and value (not (functionp value)))))
                (function :value ignore))))
             (selection-coding-system mule coding-system)
             ;; dired.c




reply via email to

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