From d99fbff01ed7bc92e92f23f224885bb9ce7ea7f6 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 11 Sep 2014 00:27:47 -0400 Subject: Replace some error calls with user-error calls --- lisp/init-tex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/init-tex.el') diff --git a/lisp/init-tex.el b/lisp/init-tex.el index 2929606..44da5ac 100644 --- a/lisp/init-tex.el +++ b/lisp/init-tex.el @@ -69,7 +69,7 @@ The point should be beyond \"\\section\"." (let ((pdf-file (concat (file-name-base (buffer-file-name)) ".pdf"))) (unless (file-exists-p pdf-file) - (error "%s does not exist" pdf-file)) + (user-error "%s does not exist" pdf-file)) (start-process "tex-pdf" nil "xdg-open" pdf-file))) (after 'latex -- cgit v1.2.3