aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1996-01-30 19:58:24 +0000
committerRichard M. Stallman1996-01-30 19:58:24 +0000
commitaf209db8bdd82abe48050de5f5363925de5566c1 (patch)
tree7b7ab404abd318d9e960ae7216f3c6640c65c1ec /src
parent9fb026ab836daf0a4a97ec027c2b286b9a31bea5 (diff)
downloademacs-af209db8bdd82abe48050de5f5363925de5566c1.tar.gz
emacs-af209db8bdd82abe48050de5f5363925de5566c1.zip
(syms_of_editfns): Make buffer-access-fontify-functions
locally nil in the prin1 buffer.
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/editfns.c b/src/editfns.c
index 6f1899782c3..73166f9d9d5 100644
--- a/src/editfns.c
+++ b/src/editfns.c
@@ -2387,6 +2387,18 @@ Each function is called with two arguments which specify the range\n\
2387of the buffer being accessed."); 2387of the buffer being accessed.");
2388 Vbuffer_access_fontify_functions = Qnil; 2388 Vbuffer_access_fontify_functions = Qnil;
2389 2389
2390 {
2391 Lisp_Object obuf;
2392 extern Lisp_Object Vprin1_to_string_buffer;
2393 obuf = Fcurrent_buffer ();
2394 /* Do this here, because init_buffer_once is too early--it won't work. */
2395 Fset_buffer (Vprin1_to_string_buffer);
2396 /* Make sure buffer-access-fontify-functions is nil in this buffer. */
2397 Fset (Fmake_local_variable (intern ("buffer-access-fontify-functions")),
2398 Qnil);
2399 Fset_buffer (obuf);
2400 }
2401
2390 DEFVAR_LISP ("buffer-access-fontified-property", 2402 DEFVAR_LISP ("buffer-access-fontified-property",
2391 &Vbuffer_access_fontified_property, 2403 &Vbuffer_access_fontified_property,
2392 "Property which (if non-nil) indicates text has been fontified.\n\ 2404 "Property which (if non-nil) indicates text has been fontified.\n\