mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
emacs: Respect load-prefer-newer
when loading `notmuch-init-file'
Before this change, `load-prefer-newer' was ignored. Set NOERROR and MUST-SUFFIX arguments of `load' to t, and NOSUFFIX argument to nil, to preserve the behaviour of the deleted `let' form.
This commit is contained in:
parent
b624b406ff
commit
3e6e219384
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue