diff yatexsec.el @ 290:1a4332ecc58b dev

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 5921f28ef77c
children 8d3156073892
line wrap: on
line diff
--- a/yatexsec.el	Sun Jan 27 18:50:23 2013 +0900
+++ b/yatexsec.el	Sun Jan 27 23:34:29 2013 +0900
@@ -1,7 +1,7 @@
 ;;; yatexsec.el --- YaTeX sectioning browser
 ;;; 
 ;;; (c) 1994-2012 by HIROSE Yuuji [yuuji@yatex.org]
-;;; Last modified Sat Sep  1 08:13:52 2012 on firestorm
+;;; Last modified Sun Jan 27 20:11:45 2013 on firestorm
 ;;; $Id$
 
 ;;; Code:
@@ -181,7 +181,7 @@
 (defun YaTeX-sectioning-hide ()
   "Call YaTeX-sectioning-hide-under with argument according to pressed key."
   (interactive)
-  (YaTeX-sectioning-hide-under (- last-command-char ?0)))
+  (YaTeX-sectioning-hide-under (- (YaTeX-last-key) ?0)))
 
 (defun YaTeX-sectioning-help ()
   "Show help of sectioning."

yatex.org