yatex

diff yahtml.el @ 290:1a4332ecc58b

For emacs-24.3+ and NEmacs(last-command-{char,event} handling)
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 27 Jan 2013 23:34:29 +0900
parents bf201e406e3f
children 8d3156073892
line diff
     1.1 --- a/yahtml.el	Sat Sep 01 08:00:58 2012 +0900
     1.2 +++ b/yahtml.el	Sun Jan 27 23:34:29 2013 +0900
     1.3 @@ -1,6 +1,6 @@
     1.4  ;;; yahtml.el --- Yet Another HTML mode -*- coding: sjis -*-
     1.5  ;;; (c) 1994-2012 by HIROSE Yuuji [yuuji(@)yatex.org]
     1.6 -;;; Last modified Sat Sep  1 07:28:17 2012 on firestorm
     1.7 +;;; Last modified Sun Jan 27 20:11:00 2013 on firestorm
     1.8  ;;; $Id$
     1.9  
    1.10  (defconst yahtml-revision-number "1.76"
    1.11 @@ -921,7 +921,7 @@
    1.12     (let ((addin (concat "yahtml:" (downcase form))) s a)
    1.13       (concat
    1.14        (and (setq a (yahtml-css-get-element-completion-alist form))
    1.15 -	   (not (equal last-command-char ?\C-j))
    1.16 +	   (not (equal (YaTeX-last-key) ?\C-j))
    1.17  	   (memq yahtml-current-completion-type '(multiline inline))
    1.18  	   (not (string-match "#" form))
    1.19  	   (yahtml-make-optional-argument ;should be made generic?