[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Incorrect error message for file operation in Windows
From: |
Stefan Monnier |
Subject: |
Re: Incorrect error message for file operation in Windows |
Date: |
Sun, 02 Jun 2013 16:50:30 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> (condition-case ex
> (copy-file "~/.emacs.d/drupal.el" "e:/video")
> ('error (message (format "Caught exception: [%s]" ex))))
On an unrelated note: the above `condition-case' will catch the signals
`error' and `quote', but of course, there is no such thing as
a `quote' signal. IOW you wanted to write:
(condition-case ex
(copy-file "~/.emacs.d/drupal.el" "e:/video")
(error (message (format "Caught exception: [%s]" ex))))
Stefan