changeset 317:b40fe847c16d dev

[prefix] C-t j also invoked via [prefix] C-t C-j
author HIROSE Yuuji <yuuji@gentei.org>
date Wed, 23 Apr 2014 08:17:57 +0900
parents c66a2ddb46e4
children 1336fbc4ab5b
files yatex.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/yatex.el	Thu Jan 30 21:37:46 2014 +0900
+++ b/yatex.el	Wed Apr 23 08:17:57 2014 +0900
@@ -1,6 +1,6 @@
 ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*-
 ;;; (c)1991-2014 by HIROSE Yuuji.[yuuji@yatex.org]
-;;; Last modified Thu Jan 30 21:36:57 2014 on firestorm
+;;; Last modified Wed Apr 23 08:17:02 2014 on firestorm
 ;;; $Id$
 ;;; The latest version of this software is always available at;
 ;;; http://www.yatex.org/
@@ -1619,7 +1619,7 @@
     (require 'yatexprc)			;for Nemacs's bug
     (select-window sw)
     (cond
-     ((= c ?j) (YaTeX-typeset-buffer))
+     ((memq c '(?j ?\C-j)) (YaTeX-typeset-buffer)) ; memq for usability test
      ((= c ?r) (YaTeX-typeset-region))
      ((= c ?e) (YaTeX-typeset-environment))
      ((= c ?b) (YaTeX-call-builtin-on-file

yatex.org