user-error for an error, rather than message.
authorJoe Wreschnig <joe.wreschnig@gmail.com>
Sun, 30 Jul 2017 14:37:39 +0000 (16:37 +0200)
committerJoe Wreschnig <joe.wreschnig@gmail.com>
Sun, 30 Jul 2017 14:37:39 +0000 (16:37 +0200)
pelican-mode.el

index e032242..3691c2f 100644 (file)
@@ -224,7 +224,7 @@ the unquoted printed representation of it is used:
   (if-let (default-directory (pelican-find-root))
       (compilation-start (format "make %s" target)
                          nil (lambda (_) "*pelican*"))
-    (message "This doesn't look like a Pelican site.")))
+    (user-error "This doesn't look like a Pelican site")))
 
 (defun pelican-make-html ()
   "Generate HTML via a Makefile at the root of the site."