# HG changeset patch # User HIROSE Yuuji # Date 1494907031 -32373 # Node ID 5709236dafb378779594f35550aadb108b78151c # Parent 1a891f77519416d51f48c00a6ca1538b0fd153b3 Add :figure diff -r 1a891f775194 -r 5709236dafb3 yahtml.el --- a/yahtml.el Tue May 16 08:30:04 2017 +0859 +++ b/yahtml.el Tue May 16 12:56:44 2017 +0859 @@ -1,6 +1,6 @@ ;;; yahtml.el --- Yet Another HTML mode -*- coding: sjis -*- ;;; (c) 1994-2017 by HIROSE Yuuji [yuuji(@)yatex.org] -;;; Last modified Tue May 16 08:13:52 2017 on firestorm +;;; Last modified Tue May 16 12:56:27 2017 on firestorm ;;; $Id$ (defconst yahtml-revision-number "1.79.3" @@ -1826,7 +1826,10 @@ ;; source element must have src attribute (format "src=\"%s\"" (yahtml-read-file-name-regexp "source: " yahtml-media-file-regexp "" "" nil ""))) - + +(defun yahtml:figure () + (setq yahtml-last-typeface-cmd "figcaption")) + ;;; ---------- Jump ---------- (defun yahtml-on-href-p () "Check if point is on href clause."