# HG changeset patch
# User yuuji@gentei.org
# Date 1328744513 -32400
# Node ID 74229d191b1787e80c4ab4be565d4d7f8be0ca49
# Parent cb4449ecb9f32a41f0017ac8a4a69c375912c189
C-j skip can be used at
and .
diff -r cb4449ecb9f3 -r 74229d191b17 yahtml.el
--- a/yahtml.el Sun Jan 29 23:01:57 2012 +0900
+++ b/yahtml.el Thu Feb 09 08:41:53 2012 +0900
@@ -1,6 +1,6 @@
;;; -*- Emacs-Lisp -*-
;;; (c) 1994-2012 by HIROSE Yuuji [yuuji(@)yatex.org]
-;;; Last modified Thu Jan 12 11:40:53 2012 on firestorm
+;;; Last modified Thu Feb 9 08:36:16 2012 on firestorm
;;; $Id$
(defconst yahtml-revision-number "1.75"
@@ -1401,8 +1401,8 @@
(defun yahtml:ol ()
"Add-in function for "
(setq yahtml-last-single-cmd "li")
- (let ((start (read-string "start="))
- (type (completing-read
+ (let ((start (YaTeX-read-string-or-skip "start="))
+ (type (YaTeX-completing-read-or-skip
"type=" '(("1") ("a") ("A") ("i") ("I")) nil t)))
(concat
(yahtml-make-optional-argument "start" start)
@@ -1428,12 +1428,12 @@
(let ((size "") name type value checked (maxlength "")
(l yahtml-prefer-upcase-attributes))
(setq name (read-string "name: ")
- type (completing-read "type (default=text): "
+ type (YaTeX-completing-read-or-skip "type (default=text): "
yahtml-input-types nil t)
- value (read-string "value: "))
+ value (YaTeX-read-string-or-skip "value: "))
(if (string-match "text\\|password\\|^$" type)
- (setq size (read-string "size: ")
- maxlength (read-string "maxlength: ")))
+ (setq size (YaTeX-read-string-or-skip "size: ")
+ maxlength (YaTeX-read-string-or-skip "maxlength: ")))
(concat
(if l "NAME" "name") "=\"" name "\""
(yahtml-make-optional-argument "type" type)