comparison 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
comparison
equal deleted inserted replaced
107045:435c323b6002 107046:d9ad62ffa43a
268 ;; Change directory 268 ;; Change directory
269 (and (shell-process-cd prompt-path) 269 (and (shell-process-cd prompt-path)
270 (run-hooks 'dirtrack-directory-change-hook) 270 (run-hooks 'dirtrack-directory-change-hook)
271 (dirtrack-debug-message 271 (dirtrack-debug-message
272 (format "Changing directory to %s" prompt-path))) 272 (format "Changing directory to %s" prompt-path)))
273 (error "Directory %s does not exist" prompt-path))) 273 (warn "Directory %s does not exist" prompt-path)))
274 ))))) 274 )))))
275 input) 275 input)
276 276
277 (provide 'dirtrack) 277 (provide 'dirtrack)
278 278