emacs-diffs
[Top][All Lists]
Advanced

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

scratch/igc 17a192a1973 08/10: Staticpro cached_system_name only if HAVE


From: Gerd Moellmann
Subject: scratch/igc 17a192a1973 08/10: Staticpro cached_system_name only if HAVE_MPS
Date: Tue, 30 Apr 2024 15:03:52 -0400 (EDT)

branch: scratch/igc
commit 17a192a1973dbfca2012487a804d3285f8b4e872
Author: Helmut Eller <eller.helmut@gmail.com>
Commit: Gerd Möllmann <gerd@gnu.org>

    Staticpro cached_system_name only if HAVE_MPS
    
    * src/editfns.c (syms_of_editfns):
---
 src/editfns.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/editfns.c b/src/editfns.c
index 3e0e5856185..fc297896119 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -4778,9 +4778,11 @@ syms_of_editfns (void)
   DEFSYM (Qwall, "wall");
   DEFSYM (Qpropertize, "propertize");
 
+#ifdef HAVE_MPS
   cached_system_name = Qnil;
   staticpro (&cached_system_name);
   labeled_restrictions = Qnil;
+#endif
   staticpro (&labeled_restrictions);
 
   DEFVAR_LISP ("inhibit-field-text-motion", Vinhibit_field_text_motion,



reply via email to

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