emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 7de8137: * lisp/progmodes/f90.el (f90-backslash-not


From: Glenn Morris
Subject: [Emacs-diffs] master 7de8137: * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
Date: Wed, 10 Jun 2015 20:58:02 +0000

branch: master
commit 7de8137710f3abf96b19c15bb7ba3a05a950b505
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>

    * lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
---
 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 0fde4f4..2bd7e7c 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
 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 ?\\ ".")))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]