X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=emacs%2Fnotmuch.el;h=5a24d8a749dda590fc4a1f89d9c3fe62f76553a3;hb=507d2f07a6c74eea86f87b637d0b67a0ddc1fc81;hp=a980c7a212358a9e54943d90b1a3b4bcbd9e3e45;hpb=11ac932a4503872c19987b843d58513c4b9ef76f;p=notmuch diff --git a/emacs/notmuch.el b/emacs/notmuch.el index a980c7a2..5a24d8a7 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -1148,8 +1148,6 @@ beginning of the line." ;; After provide to avoid loops if notmuch was require'd via notmuch-init-file. (if init-file-user ; don't load init file if the -q option was used. - (let ((init-file (locate-file notmuch-init-file '("/") - (get-load-suffixes)))) - (if init-file (load init-file nil t t)))) + (load notmuch-init-file t t nil t)) ;;; notmuch.el ends here