Commit 7de81377 authored by Glenn Morris's avatar Glenn Morris

* lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.

parent 6bf9bdb4
......@@ -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 ?\\ ".")))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment