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

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

[elpa] externals/dbus-codegen cfc4675 7/8: * tests/dbus-codegen-tests.el


From: Stefan Monnier
Subject: [elpa] externals/dbus-codegen cfc4675 7/8: * tests/dbus-codegen-tests.el: Fix up compilation
Date: Fri, 27 Nov 2020 22:13:53 -0500 (EST)

branch: externals/dbus-codegen
commit cfc46758c6252a602eea3dbc179f8094ea2a1a85
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * tests/dbus-codegen-tests.el: Fix up compilation
    
    (dbus-codegen-tests-introspection-data): Define during compilation.
---
 tests/dbus-codegen-tests.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/tests/dbus-codegen-tests.el b/tests/dbus-codegen-tests.el
index 2303976..6184c46 100644
--- a/tests/dbus-codegen-tests.el
+++ b/tests/dbus-codegen-tests.el
@@ -1,4 +1,4 @@
-;; Copyright (C) 2015 Free Software Foundation, Inc.
+;; Copyright (C) 2015-2016 Free Software Foundation, Inc.
 
 ;; This file is part of GNU Emacs.
 
@@ -58,7 +58,8 @@
                  '(:array (:dict-entry :string :int32))
                  '(("a" . 1) ("b" . 2) ("c" . 3))))))
 
-(defconst dbus-codegen-tests-introspection-data "\
+(eval-when-compile
+  (defconst dbus-codegen-tests-introspection-data "\
 <node>
   <interface name='org.gtk.GDBus.PeerTestInterface'>
     <method name='HelloPeer'>
@@ -79,7 +80,7 @@
                   value='false'/>
     </property>
   </interface>
-</node>")
+</node>"))
 
 (ert-deftest dbus-codegen-define-proxy ()
   (dbus-codegen-define-proxy test-proxy



reply via email to

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