diff options
Diffstat (limited to 'lisp/nxml/nxml-outln.el')
-rw-r--r-- | lisp/nxml/nxml-outln.el | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/lisp/nxml/nxml-outln.el b/lisp/nxml/nxml-outln.el index dab22f7559f..5fe6cfefa83 100644 --- a/lisp/nxml/nxml-outln.el +++ b/lisp/nxml/nxml-outln.el @@ -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 |