X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/a0b5606ec769968b10c765f8ff50f312d691ef62..95a2cb24b0697558e6629460d8bc693b394f0138:/lisp/nxml/xmltok.el diff --git a/lisp/nxml/xmltok.el b/lisp/nxml/xmltok.el index 9bfcd21618..fe6a6050be 100644 --- a/lisp/nxml/xmltok.el +++ b/lisp/nxml/xmltok.el @@ -1,9 +1,9 @@ -;;; xmltok.el --- XML tokenization +;;; xmltok.el --- XML tokenization -*- lexical-binding:t -*- -;; Copyright (C) 2003, 2007-2013 Free Software Foundation, Inc. +;; Copyright (C) 2003, 2007-2015 Free Software Foundation, Inc. ;; Author: James Clark -;; Keywords: XML +;; Keywords: wp, hypermedia, languages, XML ;; This file is part of GNU Emacs. @@ -142,6 +142,7 @@ string giving the error message and START and END are integers indicating the position of the error.") (defmacro xmltok-save (&rest body) + (declare (indent 0) (debug t)) `(let (xmltok-type xmltok-start xmltok-name-colon @@ -152,9 +153,6 @@ indicating the position of the error.") xmltok-errors) ,@body)) -(put 'xmltok-save 'lisp-indent-function 0) -(def-edebug-spec xmltok-save t) - (defsubst xmltok-attribute-name-start (att) (aref att 0)) @@ -411,7 +409,6 @@ Return the type of the token." (eval-when-compile (let* ((or "\\|") (open "\\(?:") - (gopen "\\(") (close "\\)") (name-start-char "[_[:alpha:]]") (name-continue-not-start-char "[-.[:digit:]]") @@ -753,7 +750,8 @@ Return the type of the token." ;; Need do this after the goto-char because ;; marked error should just apply to