]> code.delx.au - gnu-emacs/blobdiff - lisp/progmodes/f90.el
* lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
[gnu-emacs] / lisp / progmodes / f90.el
index 0fde4f4da5b2abaec171e79d8a9bb82a63963380..2bd7e7cc884c73b672cc4f9faf197647a8ae37e6 100644 (file)
@@ -2374,7 +2374,7 @@ With optional argument ALL, change the default for all present
 and future F90 buffers.  F90 mode normally treats backslash as an
 escape character."
   (or (derived-mode-p 'f90-mode)
-      (error "This function should only be used in F90 buffers"))
+      (user-error "This function should only be used in F90 buffers"))
   (when (equal (char-syntax ?\\ ) ?\\ )
     (or all (set-syntax-table (copy-syntax-table (syntax-table))))
     (modify-syntax-entry ?\\ ".")))