scratch/igc/weak-undo-list 71778706939 2/2: * src/undo.c (syms_of_undo): Add ifdefs for weak_marker_table.

Helmut Eller <[email protected]>
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: scratch/igc/weak-undo-list
commit 7177870693999e8017c9fe1cfe8a6f622b277ff9
Author: Helmut Eller <[email protected]>
Commit: Helmut Eller <[email protected]>

    * src/undo.c (syms_of_undo): Add ifdefs for weak_marker_table.
---
 src/undo.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/undo.c b/src/undo.c
index 5487121fe40..ebd397949ef 100644
--- a/src/undo.c
+++ b/src/undo.c
@@ -687,9 +687,11 @@ so it must make sure not to do a lot of consing.  */);
 	       doc: /* Non-nil means do not record `point' in `buffer-undo-list'.  */);
   undo_inhibit_record_point = false;
 
+#ifdef HAVE_MPS
   DEFSYM (Qundo__adjust_weak_markers, "undo--adjust-weak-markers");
   defsubr (&Sundo__lookup_marker);
   staticpro (&weak_marker_table.id_to_marker);
   weak_marker_table.id_to_marker
     = CALLN (Fmake_hash_table, QCweakness, Qvalue);
+#endif
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.