From 1e86875746f1890ee62c8f1460ff905e50750aff Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Fri, 29 Jan 2010 14:08:09 -0500 Subject: [PATCH] Don't signal error on incorrect dirtrack regexp (Bug#5476) * dirtrack.el (dirtrack): Warn instead of signalling error if the regexp is incorrect (Bug#5476). --- lisp/ChangeLog | 5 +++++ lisp/dirtrack.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f8edcd6f38e..4a4baf917c0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-01-29 Chong Yidong + + * dirtrack.el (dirtrack): Warn instead of signalling error if the + regexp is incorrect (Bug#5476). + 2010-01-29 Michael Albinus * net/tramp.el (tramp-handle-insert-directory): Handle also diff --git a/lisp/dirtrack.el b/lisp/dirtrack.el index 41ffc0e3195..c209a2a6eb9 100644 --- a/lisp/dirtrack.el +++ b/lisp/dirtrack.el @@ -270,7 +270,7 @@ function `dirtrack-debug-mode' to turn on debugging output." (run-hooks 'dirtrack-directory-change-hook) (dirtrack-debug-message (format "Changing directory to %s" prompt-path))) - (error "Directory %s does not exist" prompt-path))) + (warn "Directory %s does not exist" prompt-path))) ))))) input) -- 2.39.2