projects/guix·blob python-team · refs

37 lines · 1.7 KiB

1From 8b83fa772a71efc9dc030c43db2cba944e4338c1 Mon Sep 17 00:00:00 2001
2From: Kien Nguyen <[email protected]>
3Date: Wed, 19 May 2021 23:15:01 +0900
4Subject: [PATCH] Fix using of temporary lexical variable causes error in
5 native compiling
6
7---
8 polymode-core.el | 6 +++---
9 1 file changed, 3 insertions(+), 3 deletions(-)
10
11diff --git a/polymode-core.el b/polymode-core.el
12index e7d40be..ef316f8 100644
13--- a/polymode-core.el
14+++ b/polymode-core.el
15@@ -2088,14 +2088,14 @@ Elements of LIST can be either strings or symbols."
16 (stringp pm--output-file)
17 (pm--file-mod-time pm--output-file)))
18 (imt (and omt (pm--file-mod-time pm--input-file)))
19- (action (if is-exporter "exporting" "weaving"))
20 (ofile (if (and imt (time-less-p imt omt))
21 (progn
22 (message "Not re-%s as input file '%s' hasn't changed"
23- (file-name-nondirectory ifile) action)
24+ (if is-exporter "exporting" "weaving")
25+ (file-name-nondirectory ifile))
26 pm--output-file)
27 (message "%s '%s' with '%s' ..."
28- (capitalize action)
29+ (if is-exporter "EXPORTING" "WEAVING")
30 (file-name-nondirectory ifile)
31 (eieio-object-name processor))
32 (let ((fn (with-no-warnings
33
34base-commit: 44265e35161d77f6eaa09388ea2256b89bd5dcc8
35--
362.37.2
37