@@ -240,12 +240,12 @@ Eask file in the workspace."
240240(defconst eask-source-mapping
241241 `((gnu . ,(concat (if (< emacs-major-version 27 ) " http" " https" )
242242 " ://elpa.gnu.org/packages/" ))
243+ (nongnu . " https://elpa.nongnu.org/nongnu/" )
243244 (celpa . " https://celpa.conao3.com/packages/" )
244245 (jcs-elpa . " https://jcs-emacs.github.io/jcs-elpa/packages/" )
245246 (melpa . " https://melpa.org/packages/" )
246247 (melpa-stable . " https://stable.melpa.org/packages/" )
247248 (marmalade . " https://marmalade-repo.org/packages/" )
248- (nongnu . " https://elpa.nongnu.org/nongnu/" )
249249 (org . " https://orgmode.org/elpa/" ))
250250 " Mapping of source name and url." )
251251
@@ -308,8 +308,10 @@ Eask file in the workspace."
308308; ;
309309; ;; Error Handling
310310
311+ (defvar eask--error-p nil )
312+
311313(defun eask--exit (&rest _ ) " Send exit code." (kill-emacs 1 ))
312- (advice-add 'error :after #'eask--exit )
314+ (advice-add 'error :before #'eask--exit )
313315
314316; ;
315317; ;; File
@@ -328,6 +330,7 @@ Eask file in the workspace."
328330 ; ; Package file is part of package-files
329331 (when eask-package-file (push eask-package-file files ))
330332 (delete-dups files )
333+ (setq files (cl-remove-if-not #'file-exists-p files ))
331334 (unless files
332335 (message " No matching file(s) found in %s : %s " default-directory eask-files))
333336 files ))
0 commit comments