diff options
| author | Glenn Morris | 2015-06-10 16:57:59 -0400 |
|---|---|---|
| committer | Glenn Morris | 2015-06-10 16:57:59 -0400 |
| commit | 7de8137710f3abf96b19c15bb7ba3a05a950b505 (patch) | |
| tree | 9955a41b331fee1c95ff91e4fcf2838ade2fba21 | |
| parent | 6bf9bdb4b155f3f330c0e2b6eb00c45c8e01f54b (diff) | |
| download | emacs-7de8137710f3abf96b19c15bb7ba3a05a950b505.tar.gz emacs-7de8137710f3abf96b19c15bb7ba3a05a950b505.zip | |
* lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
| -rw-r--r-- | lisp/progmodes/f90.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index 0fde4f4da5b..2bd7e7cc884 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el | |||
| @@ -2374,7 +2374,7 @@ With optional argument ALL, change the default for all present | |||
| 2374 | and future F90 buffers. F90 mode normally treats backslash as an | 2374 | and future F90 buffers. F90 mode normally treats backslash as an |
| 2375 | escape character." | 2375 | escape character." |
| 2376 | (or (derived-mode-p 'f90-mode) | 2376 | (or (derived-mode-p 'f90-mode) |
| 2377 | (error "This function should only be used in F90 buffers")) | 2377 | (user-error "This function should only be used in F90 buffers")) |
| 2378 | (when (equal (char-syntax ?\\ ) ?\\ ) | 2378 | (when (equal (char-syntax ?\\ ) ?\\ ) |
| 2379 | (or all (set-syntax-table (copy-syntax-table (syntax-table)))) | 2379 | (or all (set-syntax-table (copy-syntax-table (syntax-table)))) |
| 2380 | (modify-syntax-entry ?\\ "."))) | 2380 | (modify-syntax-entry ?\\ "."))) |