X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/2d809ffafd3e1bde360c08f3be4b7d9a43ff5f0e..11af46027d22daa11d0df7d5032e6925c990dad1:/lisp/nxml/nxml-outln.el diff --git a/lisp/nxml/nxml-outln.el b/lisp/nxml/nxml-outln.el index dab22f7559..e4b8fc7986 100644 --- a/lisp/nxml/nxml-outln.el +++ b/lisp/nxml/nxml-outln.el @@ -1,9 +1,9 @@ ;;; nxml-outln.el --- outline support for nXML mode -;; Copyright (C) 2004, 2007-2013 Free Software Foundation, Inc. +;; Copyright (C) 2004, 2007-2014 Free Software Foundation, Inc. ;; Author: James Clark -;; Keywords: XML +;; Keywords: wp, hypermedia, languages, XML ;; This file is part of GNU Emacs. @@ -1008,13 +1008,8 @@ immediately after the section's start-tag." (defun nxml-outline-error (&rest args) (signal 'nxml-outline-error args)) -(put 'nxml-outline-error - 'error-conditions - '(error nxml-error nxml-outline-error)) - -(put 'nxml-outline-error - 'error-message - "Cannot create outline of buffer that is not well-formed") +(define-error 'nxml-outline-error + "Cannot create outline of buffer that is not well-formed" 'nxml-error) ;;; Debugging