]> git.eshelyaron.com Git - emacs.git/commitdiff
(current-language-environment): Set custom-type after
authorDave Love <fx@gnu.org>
Sun, 15 Dec 2002 16:11:47 +0000 (16:11 +0000)
committerDave Love <fx@gnu.org>
Sun, 15 Dec 2002 16:11:47 +0000 (16:11 +0000)
language files are loaded.

lisp/loadup.el

index 4e3da844e51a4652cfe2faa4677f411ba334ce47..efd49e4573fcba842cf3d15f7806ba5c62f8c113 100644 (file)
 (load "language/tibetan")
 (load "language/vietnamese")
 (load "language/misc-lang")
+;; Set the Custom type now the language list is actually defined.
+(put 'current-language-environment 'custom-type
+     (cons 'choice (mapcar (lambda (lang)
+                            (list 'const (car lang)))
+                          language-info-alist)))
 
 (load "international/ucs-tables")