From 247d8bf4dd93d796c41c0f60947cc77b73b99e83 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Fri, 14 Jan 2022 11:21:29 +0100 Subject: [PATCH] Remove eval-when-compile on const variable Fixes #20 --- eshell-info-banner.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/eshell-info-banner.el b/eshell-info-banner.el index 5456094..d0794da 100644 --- a/eshell-info-banner.el +++ b/eshell-info-banner.el @@ -60,10 +60,9 @@ ; Constants ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(eval-when-compile - (defconst eshell-info-banner-path-separator - (substring-no-properties (file-relative-name (expand-file-name "x" "y")) 1 2) - "File separator used by the current operating system.")) +(defconst eshell-info-banner-path-separator + (substring-no-properties (file-relative-name (expand-file-name "x" "y")) 1 2) + "File separator used by the current operating system.") (defconst eshell-info-banner--min-length-left 8 "Minimum length of text on the left hand side of the banner.")