From 3e1e06df491fd61a4005caae39e70ad90ad46a50 Mon Sep 17 00:00:00 2001 From: Dominique Quatravaux Date: Wed, 6 Dec 2023 00:28:40 +0100 Subject: [PATCH] [fix] `tsc-dyn-get--recorded-version`: support new DYN-VERSION syntax (#249) --- core/tsc-dyn-get.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/tsc-dyn-get.el b/core/tsc-dyn-get.el index 4aa258a6..8b246e02 100644 --- a/core/tsc-dyn-get.el +++ b/core/tsc-dyn-get.el @@ -105,6 +105,9 @@ this to nil." (with-temp-buffer (let ((coding-system-for-read 'utf-8)) (insert-file-contents tsc-dyn-get--version-file) + (goto-char (point-min)) + (when (re-search-forward "@" nil t) + (delete-region (point-min) (point))) (buffer-string)))))) (defun tsc-dyn-get--loaded-version ()