Mercurial > hg > xemacs-beta
diff lisp/x-init.el @ 227:0e522484dd2a r20-5b12
Import from CVS: tag r20-5b12
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:12:37 +0200 |
parents | 41ff10fd062f |
children | 434959a2fba3 |
line wrap: on
line diff
--- a/lisp/x-init.el Mon Aug 13 10:11:42 2007 +0200 +++ b/lisp/x-init.el Mon Aug 13 10:12:37 2007 +0200 @@ -36,6 +36,10 @@ ;; Do not set it to a string containing periods. X doesn't like that. ;(setq x-emacs-application-class "Emacs") +(defgroup x nil + "The X Window system." + :group 'environment) + ;; selections and active regions ;; If and only if zmacs-regions is true: @@ -255,6 +259,11 @@ ;; (Note that the first frame is created later.) (setq x-initial-argv-list (cons (car command-line-args) command-line-args-left)) + ;; Locate the app-defaults directory + (when (and (boundp 'x-app-defaults-directory) + (null x-app-defaults-directory)) + (setq x-app-defaults-directory + (locate-data-directory "app-defaults"))) (make-x-device nil) (setq command-line-args-left (cdr x-initial-argv-list)) (setq x-win-initted t)))