]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix cus-test-deps
authorMichael Albinus <michael.albinus@gmx.de>
Tue, 23 Jan 2024 18:24:29 +0000 (19:24 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 24 Jan 2024 18:31:53 +0000 (19:31 +0100)
* admin/cus-test.el (cus-test-deps): Add the "quail/" subdirectory
to default-directory, temporarily.

(cherry picked from commit 13c7249105ec0d1a070c6d4e9f73f3c21d905bc8)

admin/cus-test.el

index 68907f4f5e54dd9fcf4ff99e792e4644a3466f02..10d6e34358d59a19a13aa7c86146370c2ac3199b 100644 (file)
@@ -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)