From 5e440c33a1d24762477863af5c9b7a896df4be1b Mon Sep 17 00:00:00 2001 From: wouter bolsterlee Date: Thu, 3 Aug 2017 12:18:46 +0200 Subject: invoke user-error directly ... so that the error message actually shows up in the echo area. --- terminal-here.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terminal-here.el b/terminal-here.el index bd414c7..1af5d37 100644 --- a/terminal-here.el +++ b/terminal-here.el @@ -102,10 +102,10 @@ If projectile is installed the projectile root will be used, Otherwise `vc-root-dir' will be used." (interactive) (when (not terminal-here-project-root-function) - (signal 'user-error "No `terminal-here-project-root-function' is set.")) + (user-error "No `terminal-here-project-root-function' is set.")) (let ((root (funcall terminal-here-project-root-function))) (when (not root) - (signal 'user-error "Not in any project according to `terminal-here-project-root-function'")) + (user-error "Not in any project according to `terminal-here-project-root-function'")) (terminal-here-launch-in-directory root))) -- cgit v1.2.3