*** /tmp/ediffPBChhu 2019-04-17 09:28:24.986244205 +0200 --- /home/albinus/src/emacs/lisp/files.el 2019-04-16 21:48:35.560684261 +0200 *************** *** 1058,1064 **** (when (stringp res) (file-local-name res))) ;; Use 1 rather than file-executable-p to better match the ;; behavior of call-process. ! (locate-file command exec-path exec-suffixes 1))) (defun load-library (library) "Load the Emacs Lisp library named LIBRARY. --- 1058,1065 ---- (when (stringp res) (file-local-name res))) ;; Use 1 rather than file-executable-p to better match the ;; behavior of call-process. ! (let ((default-directory (file-name-quote default-directory 'top))) ! (locate-file command exec-path exec-suffixes 1)))) (defun load-library (library) "Load the Emacs Lisp library named LIBRARY.