changeset 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 435c323b6002
children b3b8cae9520c
files lisp/ChangeLog lisp/dirtrack.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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  <cyd@stupidchicken.com>
+
+	* dirtrack.el (dirtrack): Warn instead of signalling error if the
+	regexp is incorrect (Bug#5476).
+
 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
 
 	* net/tramp.el (tramp-handle-insert-directory): Handle also
--- 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)