Mercurial > emacs
diff lisp/term/x-win.el @ 91046:35069180a991
Fix up multi-tty merge
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-261
Creator: Stefan Monnier <monnier@iro.umontreal.ca>
author | Miles Bader <miles@gnu.org> |
---|---|
date | Fri, 12 Oct 2007 21:06:27 +0000 |
parents | bdb3fe0ba9fa |
children | 4bc33ffdda1a |
line wrap: on
line diff
--- a/lisp/term/x-win.el Fri Oct 12 01:23:15 2007 +0000 +++ b/lisp/term/x-win.el Fri Oct 12 21:06:27 2007 +0000 @@ -2469,28 +2469,6 @@ ;; Create fontset specified in X resources "Fontset-N" (N is 0, 1, ...). (create-fontset-from-x-resource) - ;; Try to create a fontset from a font specification which comes - ;; from initial-frame-alist, default-frame-alist, or X resource. - ;; A font specification in command line argument (i.e. -fn XXXX) - ;; should be already in default-frame-alist as a `font' - ;; parameter. However, any font specifications in site-start - ;; library, user's init file (.emacs), and default.el are not - ;; yet handled here. - - (let ((font (or (cdr (assq 'font initial-frame-alist)) - (cdr (assq 'font default-frame-alist)) - (x-get-resource "font" "Font"))) - xlfd-fields resolved-name) - (if (and font - (not (query-fontset font)) - (setq resolved-name (x-resolve-font-name font)) - (setq xlfd-fields (x-decompose-font-name font))) - (if (string= "fontset" (aref xlfd-fields xlfd-regexp-registry-subnum)) - (new-fontset font (x-complement-fontset-spec xlfd-fields nil)) - ;; Create a fontset from FONT. The fontset name is - ;; generated from FONT. - (create-fontset-from-ascii-font font resolved-name "startup")))) - ;; Set scroll bar mode to right if set by X resources. Default is left. (if (equal (x-get-resource "verticalScrollBars" "ScrollBars") "right") (customize-set-variable 'scroll-bar-mode 'right))