X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/54bd972f159fb8c25b4f4042ac6db5da557d9108..f95bbe5a67e03fe6d05cbfb4d0c9151a754d6ccd:/lisp/nxml/xsd-regexp.el diff --git a/lisp/nxml/xsd-regexp.el b/lisp/nxml/xsd-regexp.el index 8c0b26cdab..a3f476d00b 100644 --- a/lisp/nxml/xsd-regexp.el +++ b/lisp/nxml/xsd-regexp.el @@ -1,9 +1,9 @@ -;;; xsd-regexp.el --- translate W3C XML Schema regexps to Emacs regexps +;;; xsd-regexp.el --- translate W3C XML Schema regexps to Emacs regexps -*- lexical-binding:t -*- -;; Copyright (C) 2003, 2007-2013 Free Software Foundation, Inc. +;; Copyright (C) 2003, 2007-2016 Free Software Foundation, Inc. ;; Author: James Clark -;; Keywords: XML, regexp +;; Keywords: wp, hypermedia, languages, XML, regexp ;; This file is part of GNU Emacs. @@ -147,7 +147,7 @@ ranges are merged wherever possible." (defun xsdre-range-list-difference (orig subtract) "Return a range-list for the difference of two range-lists." (when orig - (let (new head next first last) + (let (new head first last) (while orig (setq head (car orig)) (setq first (xsdre-range-first head)) @@ -745,7 +745,7 @@ Code is inserted into the current buffer." (save-excursion (goto-char start) (down-list 2) - (while (condition-case err + (while (condition-case nil (progn (forward-sexp) t)