# HG changeset patch # User HIROSE Yuuji # Date 1423783299 -32400 # Node ID a4a2635c515841bbe548f9607f83ae8bb1ec68e9 # Parent 9ab38ecfd3d1974dd4d86f663ee74be0af531547 yahtml-element-path works correctly on `body'-less document diff -r 9ab38ecfd3d1 -r a4a2635c5158 yahtml.el --- a/yahtml.el Fri Feb 13 08:20:12 2015 +0900 +++ b/yahtml.el Fri Feb 13 08:21:39 2015 +0900 @@ -1,6 +1,6 @@ ;;; yahtml.el --- Yet Another HTML mode -*- coding: sjis -*- ;;; (c) 1994-2015 by HIROSE Yuuji [yuuji(@)yatex.org] -;;; Last modified Wed Feb 11 08:58:55 2015 on firestorm +;;; Last modified Wed Feb 11 12:17:03 2015 on firestorm ;;; $Id$ (defconst yahtml-revision-number "1.78.1" @@ -2522,7 +2522,8 @@ "body"))) (setq path (cons elm path) elm nil)) - (and elm (setq path (cons elm path)))))) + (and elm (setq path (cons elm path))) + path))) (defun yahtml-forward-field (arg) "Move ARGth forward cell to table element.