From d91be5e5d0c23f998779ea301f2fcb335590257f Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 29 Apr 2026 03:23:38 -0500 Subject: fix(eshell): correct call shape in eshell/find-using-dired The body had `(find-name-dired . escaped-pattern)`, a dotted pair instead of a function call. The reader accepts it, but the form crashes the moment the `f` alias runs. find-name-dired takes (DIR PATTERN), so the right shape passes default-directory and the escaped pattern. --- modules/eshell-vterm-config.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/eshell-vterm-config.el b/modules/eshell-vterm-config.el index cc382a3f..df1f3f77 100644 --- a/modules/eshell-vterm-config.el +++ b/modules/eshell-vterm-config.el @@ -122,9 +122,9 @@ (eshell-send-input))) (defun eshell/find-using-dired (file-pattern) - "Find a file FILE-PATTERN' using 'find-name-dired'." + "Find a file matching FILE-PATTERN using `find-name-dired'." (let ((escaped-pattern (regexp-quote file-pattern))) - (find-name-dired . escaped-pattern))) + (find-name-dired default-directory escaped-pattern))) (defun cj/eshell-delete-window-on-exit () "Close the eshell window when exiting." -- cgit v1.2.3