diff lisp/dirtrack.el @ 107046:d9ad62ffa43a

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).
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 29 Jan 2010 14:08:09 -0500
parents 1d1d5d9bd884
children ffe7f17f895f 376148b31b5e
line wrap: on
line diff
--- 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)