From 3e62a4b3ca3dd5a0160e6179936d11898e33f835 Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Thu, 30 Apr 2026 14:29:30 +0800 Subject: [PATCH] fix: require tramp to avoid void function error `tramp-tramp-file-p' --- lisp/init-func.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/init-func.el b/lisp/init-func.el index 5d6e885..f8fc621 100644 --- a/lisp/init-func.el +++ b/lisp/init-func.el @@ -159,6 +159,7 @@ Directory entries are excluded from the returned list." (defun creature/play-with-mpv (filename) "Play local media FILENAME with mpv, including Blu-ray directories and images." + (require 'tramp) (cond ((not (executable-find "mpv")) (user-error "mpv: executable not found"))