diff --git a/admin/cus-test.el b/admin/cus-test.el index 68907f4f5e5..10d6e34358d 100644 --- a/admin/cus-test.el +++ b/admin/cus-test.el @@ -424,7 +424,12 @@ in the Emacs source directory." (mapatoms ;; This code is mainly from `custom-load-symbol'. (lambda (symbol) - (let ((custom-load-recursion t)) + (let ((custom-load-recursion t) + (load-path + (cons + (expand-file-name + "quail" (file-name-directory (locate-library leim-list-file-name))) + load-path))) (dolist (load (get symbol 'custom-loads)) (cond ((symbolp load)