yatex
diff yatexlib.el @ 53:5f4b18da14b3
Fix functions relating YaTeX-beginning-of-environment or
YaTeX-end-of-environment.
Line indentation by TAB much improved.
Functions that work at enclosing environments, YaTeX-enclose-<ENVNAME>,
introduced. Functions for enclosing verbatim and equations are supplied.
SPC, DEL, +, - in YaTeX-hierarchy buffer.
Compensate odd highlighting of hilit19.
author | yuuji |
---|---|
date | Thu, 02 Feb 1995 17:18:29 +0000 |
parents | 5d94deabb9f9 |
children | 2d45e43fb35f |
line diff
1.1 --- a/yatexlib.el Sun Jan 22 14:20:46 1995 +0000 1.2 +++ b/yatexlib.el Thu Feb 02 17:18:29 1995 +0000 1.3 @@ -2,7 +2,7 @@ 1.4 ;;; YaTeX library of general functions. 1.5 ;;; yatexlib.el 1.6 ;;; (c )1994-1995 by HIROSE Yuuji.[yuuji@ae.keio.ac.jp] 1.7 -;;; Last modified Sun Jan 22 23:15:03 1995 on landcruiser 1.8 +;;; Last modified Thu Jan 26 11:15:29 1995 on pajero 1.9 ;;; $Id$ 1.10 1.11 ;;;###autoload 1.12 @@ -128,7 +128,7 @@ 1.13 that gives the maximum value by the FUNC. FUNC should take an argument 1.14 of its window object. Non-nil for optional third argument SELECT selects 1.15 that window. This function never selects minibuffer window." 1.16 - (or (and (if YaTeX-emacs-19 1.17 + (or (and (if (and YaTeX-emacs-19 select) 1.18 (get-buffer-window buffer t) 1.19 (get-buffer-window buffer)) 1.20 (progn 1.21 @@ -355,4 +355,14 @@ 1.22 (read-with-history-in hsym prompt init)) 1.23 (t (read-string prompt init)))) 1.24 1.25 +;;; 1.26 +;; Interface function for windows.el 1.27 +;;; 1.28 +;;;###autoload 1.29 +(defun YaTeX-switch-to-window () 1.30 + "Switch to windows.el's window decided by last pressed key." 1.31 + (interactive) 1.32 + (or (featurep 'windows) (error "Why don't you use `windows.el'?")) 1.33 + (win-switch-to-window 1 (- last-command-char win:base-key))) 1.34 + 1.35 (provide 'yatexlib)