emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/go-mode 4c5493b 036/495: also load diff-mode during compil


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 4c5493b 036/495: also load diff-mode during compilation
Date: Sat, 7 Aug 2021 09:04:39 -0400 (EDT)

branch: elpa/go-mode
commit 4c5493bc3b4204bec9e85deecad5ac9765a8e41f
Author: Dominik Honnef <dominikh@fork-bomb.org>
Commit: Dominik Honnef <dominikh@fork-bomb.org>

    also load diff-mode during compilation
---
 go-mode.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/go-mode.el b/go-mode.el
index d5f97de..8e3aab3 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -10,7 +10,9 @@
 ;; - Fontify unicode in method receiver types, array/slice/map types
 ;;   and everywhere where type-name is being used
 
-(eval-when-compile (require 'diff-mode))
+(eval-when-compile
+  (require 'diff-mode)
+  (require 'cl))
 
 (defconst go-dangling-operators-regexp "[^-]-\\|[^+]\\+\\|[/*&><.=|^]")
 (defconst gofmt-stdin-tag "<standard input>")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]