yatex
changeset 315:12fe2878bd30 dev
Add <option> to env-table
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 17 Jan 2014 19:11:13 +0900 |
parents | fae84a98372c |
children | c66a2ddb46e4 |
files | yahtml.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/yahtml.el Wed Jan 08 08:19:11 2014 +0900 1.2 +++ b/yahtml.el Fri Jan 17 19:11:13 2014 +0900 1.3 @@ -1,6 +1,6 @@ 1.4 ;;; yahtml.el --- Yet Another HTML mode -*- coding: sjis -*- 1.5 ;;; (c) 1994-2013 by HIROSE Yuuji [yuuji(@)yatex.org] 1.6 -;;; Last modified Mon Apr 1 22:42:29 2013 on firestorm 1.7 +;;; Last modified Fri Jan 17 19:10:27 2014 on firestorm 1.8 ;;; $Id$ 1.9 1.10 (defconst yahtml-revision-number "1.76" 1.11 @@ -437,6 +437,7 @@ 1.12 ("h1") ("h2") ("h3") ("h4") ("h5") ("h6") 1.13 ;; ("p") ;This makes indentation screwed up! 1.14 ("style") ("script") ("noscript") ("div") ("object") ("ins") ("del") 1.15 + ("option") 1.16 )) 1.17 1.18 (if yahtml-html4-strict 1.19 @@ -2775,7 +2776,7 @@ 1.20 1.21 (defun yahtml-intelligent-newline-select () 1.22 (interactive) 1.23 - (insert "<" (if yahtml-prefer-upcases "OPTION" "option") "> ") 1.24 + (yahtml-insert-single (if yahtml-prefer-upcases "OPTION" "option")) 1.25 (yahtml-indent-line)) 1.26 1.27 (defun yahtml-intelligent-newline-style ()