yatex

diff yahtml.el @ 556:fbb636ff0fe3

Update version string for RELEASE version
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 24 Dec 2018 20:56:58 +0900
parents 6fd30c828f96
children be050eec7849
line diff
     1.1 --- a/yahtml.el	Sun Sep 10 21:38:19 2017 +0859
     1.2 +++ b/yahtml.el	Mon Dec 24 20:56:58 2018 +0900
     1.3 @@ -1623,7 +1623,8 @@
     1.4  
     1.5  (defvar yahtml:meta-attrs
     1.6    '(("charset" value)
     1.7 -    ("name" content ("keywords")("author")("copyright")("date")("GENERATOR"))
     1.8 +    ("name" content ("keywords")("author")("copyright")("date")("GENERATOR")
     1.9 +     ("viewport"))
    1.10      ("http-equiv" content)))
    1.11  
    1.12  (defun yahtml:meta ()
    1.13 @@ -1665,6 +1666,9 @@
    1.14  	      (error "Use <meta charset=\"...\" instead..  See docs/qanda.")
    1.15  	    (yahtml-make-optional-argument
    1.16  	     "content" (yahtml-read-parameter "content"))))
    1.17 +	 ((string-match "viewport" name)
    1.18 +	  ;; XXX: Very dirty static string
    1.19 +	  "width=device-width, initial-scale=1")
    1.20  	 (t (read-string-with-history (concat name ": ")))))))
    1.21       (t (yahtml-make-optional-argument
    1.22  	 attr (yahtml-read-parameter attr))))))