|
From: | Stephen Leake |
Subject: | add-log-current-defun-function for nxml-mode? |
Date: | Fri, 01 Apr 2016 16:04:37 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) |
Does nxml provide a function for add-log-current-defun-function? I came up with: (defun nxml-current-element () "Return name of current element. Suitable for `add-log-current-defun-function'." (save-excursion (nxml-backward-up-element) (buffer-substring (point) xmltok-name-end))) -- -- Stephe
[Prev in Thread] | Current Thread | [Next in Thread] |