yatex
changeset 439:2521a95043af dev
yahtml:label fixed
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Sat, 13 Aug 2016 16:59:25 +0859 |
parents | 1b9beabd3fd1 |
children | 0c098405a3c9 |
files | yahtml.el |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line diff
1.1 --- a/yahtml.el Sat Aug 13 16:53:59 2016 +0900 1.2 +++ b/yahtml.el Sat Aug 13 16:59:25 2016 +0859 1.3 @@ -1,6 +1,6 @@ 1.4 ;;; yahtml.el --- Yet Another HTML mode -*- coding: sjis -*- 1.5 ;;; (c) 1994-2015 by HIROSE Yuuji [yuuji(@)yatex.org] 1.6 -;;; Last modified Sat Aug 13 16:52:40 2016 on mt09 1.7 +;;; Last modified Sat Aug 13 16:56:50 2016 on firestorm 1.8 ;;; $Id$ 1.9 1.10 (defconst yahtml-revision-number "1.78.1" 1.11 @@ -1441,8 +1441,9 @@ 1.12 (read-string-with-history "name: ") "\"")) 1.13 (defun yahtml:label () 1.14 "Add-in function for `<label>'" 1.15 - (concat " " (if yahtml-prefer-upcase-attributes "FOR" "for") "=\"" 1.16 - (read-string-with-history "for: ") "\"")) 1.17 + (yahtml-make-optional-argument 1.18 + "for" 1.19 + (YaTeX-completing-read-or-skip "for=" (yahtml-collect-ids) nil t))) 1.20 1.21 (defun yahtml:ol () 1.22 "Add-in function for <ol>"