Mercurial > hgrepos > hgweb.cgi > yatex
changeset 398:8c8757ac9b62 dev
Give 'frame-background-mode a precedence to 'frame-paramerters
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 16 Jan 2015 15:05:00 +0900 |
parents | d9c23841313b |
children | 33bde8c52fcc |
files | yatex19.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/yatex19.el Fri Jan 16 14:59:29 2015 +0900 +++ b/yatex19.el Fri Jan 16 15:05:00 2015 +0900 @@ -1,6 +1,6 @@ ;;; yatex19.el -- YaTeX facilities for Emacs 19 or later -*- coding: sjis -*- ;;; (c)1994-2015 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Fri Jan 16 10:29:41 2015 on firestorm +;;; Last modified Fri Jan 16 15:03:58 2015 on firestorm ;;; $Id$ ;;; Code: @@ -15,10 +15,10 @@ (defvar YaTeX-background-mode (or (if (fboundp 'get-frame-background-mode) (get-frame-background-mode (selected-frame))) + (if (boundp 'frame-background-mode) + frame-background-mode) (if (fboundp 'frame-parameters) (cdr (assq 'background-mode (frame-parameters)))) - (if (boundp 'frame-background-mode) - frame-background-mode) (if (boundp 'hilit-background-mode) hilit-background-mode) (if (face-background 'default)