home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit a8b48b8b44a6a2340dc8cf9ef9b91406eb88ab19
parent fa208de2a05ca026dbd2a9283f3ab96f020ef882
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu, 11 Jul 2024 11:04:39 +0200

tools/emacs: fix run-command-hack recipe

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-programming.el | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/emacs/config/config-programming.el b/tools/emacs/config/config-programming.el @@ -47,7 +47,7 @@ in the project root *or* the default-directory." (let* ((dir (vde-project--project-root-or-default-directory)) (hack-dir (expand-file-name "hack" dir)) - (files (directory-files hack-dir))) + (files (or (ignore-errors (directory-files hack-dir)) []))) (when (file-accessible-directory-p hack-dir) (mapcar (lambda (file) (let ((hack-file (expand-file-name file hack-dir)))