yatex
changeset 411:a4a2635c5158 dev
yahtml-element-path works correctly on `body'-less document
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Fri, 13 Feb 2015 08:21:39 +0900 |
parents | 9ab38ecfd3d1 |
children | b899adfd0879 |
files | yahtml.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line diff
1.1 --- a/yahtml.el Fri Feb 13 08:20:12 2015 +0900 1.2 +++ b/yahtml.el Fri Feb 13 08:21:39 2015 +0900 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 Wed Feb 11 08:58:55 2015 on firestorm 1.7 +;;; Last modified Wed Feb 11 12:17:03 2015 on firestorm 1.8 ;;; $Id$ 1.9 1.10 (defconst yahtml-revision-number "1.78.1" 1.11 @@ -2522,7 +2522,8 @@ 1.12 "body"))) 1.13 (setq path (cons elm path) 1.14 elm nil)) 1.15 - (and elm (setq path (cons elm path)))))) 1.16 + (and elm (setq path (cons elm path))) 1.17 + path))) 1.18 1.19 (defun yahtml-forward-field (arg) 1.20 "Move ARGth forward cell to table element.