yatex
diff yatexm-o.el @ 590:7810c4ec21fe
Move wrapper functions former part of the file for the clarity.
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 23 Sep 2022 06:46:32 +0900 |
parents | 5921f28ef77c |
children |
line diff
1.1 --- a/yatexm-o.el Sat Sep 01 08:14:41 2012 +0900 1.2 +++ b/yatexm-o.el Fri Sep 23 06:46:32 2022 +0900 1.3 @@ -1,7 +1,7 @@ 1.4 ;;; yatexm-o.el --- Sample to invoke yatex-mode with outline-minor mode 1.5 1.6 ;;; (c)1993 by HIROSE Yuuji [yuuji@yatex.org] 1.7 -;;; Last modified Sat Sep 1 08:12:40 2012 on firestorm 1.8 +;;; Last modified Sun Dec 21 14:15:47 2014 on firestorm 1.9 1.10 ;;; Code: 1.11 ;;; 1.12 @@ -26,12 +26,14 @@ 1.13 (autoload 'yatex-mode "yatex" "Yet Another LaTeX mode" t) 1.14 ;;↓min-outを使用しない場合、;;@ の行は不要です。 1.15 (defvar yatex-mode-hook 1.16 - '(lambda () 1.17 + (function 1.18 + (lambda () 1.19 (setq outline-regexp LaTeX-outline-regexp) ;;@ 1.20 (outline-minor-mode 1) ;;@ 1.21 - )) 1.22 + ))) 1.23 (defvar yatex-mode-load-hook 1.24 - '(lambda () 1.25 + (function 1.26 + (lambda () 1.27 (setq-default outline-prefix-char (concat YaTeX-prefix "\C-o"));;@ 1.28 (require 'min-out) ;;@ 1.29 ;;auctex 付属の min-out.el の場合これ↓ 1.30 @@ -39,4 +41,4 @@ 1.31 ;;Emacs 付属の outline.el の場合これ↓ 1.32 (define-key outline-mode-prefix-map "\C-?" 'hide-subtree) 1.33 (YaTeX-define-begend-key "ba" "abstract") 1.34 - )) 1.35 + )))