Mercurial > hgrepos > hgweb.cgi > yatex
changeset 291:027c4e8d98ce dev
Set last-command-event locally too.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Tue, 12 Feb 2013 18:24:19 +0900 |
parents | 1a4332ecc58b |
children | e1c1616c4f07 |
files | yatex.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/yatex.el Sun Jan 27 23:34:29 2013 +0900 +++ b/yatex.el Tue Feb 12 18:24:19 2013 +0900 @@ -1,6 +1,6 @@ ;;; yatex.el --- Yet Another tex-mode for emacs //–ì’¹// -*- coding: sjis -*- ;;; (c)1991-2012 by HIROSE Yuuji.[yuuji@yatex.org] -;;; Last modified Sun Jan 27 20:10:46 2013 on firestorm +;;; Last modified Tue Feb 12 14:11:51 2013 on firestorm ;;; $Id$ ;;; The latest version of this software is always available at; ;;; http://www.yatex.org/ @@ -2546,7 +2546,8 @@ (progn (setq maketitle (substring (YaTeX-match-string 0) 1)) (setq memberp (YaTeX-math-member-p maketitle)))) - (let ((last-command-char (string-to-char (car memberp)))) + (let*((last-command-char (string-to-char (car memberp))) + (last-command-event last-command-char)) (setq beg (match-beginning 0) end (match-end 0)) (delete-region beg end) (YaTeX-math-insert-sequence t (cdr memberp))))))