- (setq arg (locate-library arg))
- (if (null arg)
- (progn
- (print (format "Error: Library file %s not found"
- (car preloaded-file-list)))
- ;; Uncomment in case of trouble
- ;;(print (format "late-packages: %S" late-packages))
- ;;(print (format "guessed-roots: %S" (paths-find-emacs-roots invocation-directory invocation-name)))
- (kill-emacs)))
- (if (string-match "\\.elc?\\'" arg)
- (setq arg (substring arg 0 (match-beginning 0))))
- (if (and (null (member arg processed))
- (file-exists-p (concat arg ".el"))
- (file-newer-than-file-p (concat arg ".el")
- (concat arg ".elc")))
- (setq processed (cons (concat arg ".el") processed)))))
+ (print (format "Error: Library file %s not found"
+ (car preloaded-file-list)))
+ ;; Uncomment in case of trouble
+ ;;(print (format "late-packages: %S" late-packages))
+ ;;(print (format "guessed-roots: %S" (paths-find-emacs-roots invocation-directory invocation-name)))
+ (kill-emacs)))
+ (if (string-match "\\.elc?\\'" arg)
+ (setq arg (substring arg 0 (match-beginning 0))))
+ (if (and (null (member arg processed))
+ (file-exists-p (concat arg ".el"))
+ (file-newer-than-file-p (concat arg ".el")
+ (concat arg ".elc")))
+ (setq processed (cons (concat arg ".el") processed)))