# HG changeset patch # User Chong Yidong # Date 1264792089 18000 # Node ID d9ad62ffa43a9abacca5990e24a5085d748de24a # Parent 435c323b60023280a317a8f3465c2460aa283192 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 -r 435c323b6002 -r d9ad62ffa43a lisp/ChangeLog --- a/lisp/ChangeLog Fri Jan 29 14:02:02 2010 -0500 +++ b/lisp/ChangeLog Fri Jan 29 14:08:09 2010 -0500 @@ -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 -r 435c323b6002 -r d9ad62ffa43a lisp/dirtrack.el --- a/lisp/dirtrack.el Fri Jan 29 14:02:02 2010 -0500 +++ b/lisp/dirtrack.el Fri Jan 29 14:08:09 2010 -0500 @@ -270,7 +270,7 @@ (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)