+2013-12-17 Juri Linkov <juri@jurta.org>
+
+ * arc-mode.el (archive-extract-by-file): Check if directory exists
+ before deletion to not show irrelevant errors if it doesn't exist.
+
2013-12-17 Juri Linkov <juri@jurta.org>
* menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
(delete-file (expand-file-name name dest)))
(while (file-name-directory name)
(setq name (directory-file-name (file-name-directory name)))
- (delete-directory (expand-file-name name dest)))
- (delete-directory dest))))
+ (when (file-directory-p (expand-file-name name dest))
+ (delete-directory (expand-file-name name dest))))
+ (when (file-directory-p dest)
+ (delete-directory dest)))))
(defun archive-extract-other-window ()
"In archive mode, find this member in another window."