]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't signal error on incorrect dirtrack regexp (Bug#5476)
authorChong Yidong <cyd@stupidchicken.com>
Fri, 29 Jan 2010 19:08:09 +0000 (14:08 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 29 Jan 2010 19:08:09 +0000 (14:08 -0500)
* dirtrack.el (dirtrack): Warn instead of signalling error if the
regexp is incorrect (Bug#5476).

lisp/ChangeLog
lisp/dirtrack.el

index f8edcd6f38e8ed15a0d562d197efec4bbc41a1dc..4a4baf917c051357617ed7501c1da2c6ebdb9483 100644 (file)
@@ -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
index 41ffc0e319559c01017df0e2c457e6c602004471..c209a2a6eb9ebc981d37cda478eb88b6560f44c5 100644 (file)
@@ -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)