diff options
Diffstat (limited to 'lisp/cus-start.el')
| -rw-r--r-- | lisp/cus-start.el | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el index e003e4f4622..3f2bd91ca84 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el @@ -125,8 +125,11 @@ Leaving \"Default\" unchecked is equivalent with specifying a default of :value (undecided . undecided) (coding-system :tag "Decoding") (coding-system :tag "Encoding")) - (coding-system :tag "Single coding system" - :value undecided) + (coding-system + :tag "Single coding system" + :value undecided + :match (lambda (widget value) + (and value (not (functionp value))))) (function :value ignore)))) (selection-coding-system mule coding-system) ;; dired.c |
