From: Chong Yidong Date: Fri, 29 Jan 2010 19:08:09 +0000 (-0500) Subject: Don't signal error on incorrect dirtrack regexp (Bug#5476) X-Git-Tag: emacs-pretest-23.1.92~6 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1e86875746f1890ee62c8f1460ff905e50750aff;p=emacs.git 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). --- 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)