]> git.eshelyaron.com Git - emacs.git/commitdiff
Don't export print--unreadable-callback-buffer to lisp
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 28 Jul 2022 10:39:45 +0000 (12:39 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 28 Jul 2022 10:39:45 +0000 (12:39 +0200)
* src/print.c (syms_of_print): Don't export
`print--unreadable-callback-buffer' to lisp.

src/print.c

index 48c945d08a0b693302a288bbda4d152066c5d467..5ad4d4fbb58c50ebf41c7af587908ff0e851d066 100644 (file)
@@ -2931,6 +2931,8 @@ be printed.  */);
   Vprint__unreadable_callback_buffer = Qnil;
   DEFSYM (Qprint__unreadable_callback_buffer,
          "print--unreadable-callback-buffer");
+  /* Don't export this variable to Elisp.  */
+  Funintern (Qprint__unreadable_callback_buffer, Qnil);
 
   defsubr (&Sflush_standard_output);