Variable: print-integers-as-characters

print-integers-as-characters is a variable defined in print.c.

Value

nil

Documentation

Non-nil means integers are printed using characters syntax.

Only independent graphic characters, and control characters with named escape sequences such as newline, are printed this way. Other integers, including those corresponding to raw bytes, are printed as numbers the usual way.

View in manual

Probably introduced at or before Emacs version 28.1.

Source Code

// Defined in /usr/src/emacs/src/print.c
  DEFVAR_BOOL ("print-integers-as-characters", print_integers_as_characters,
	       doc: /* Non-nil means integers are printed using characters syntax.
Only independent graphic characters, and control characters with named
escape sequences such as newline, are printed this way.  Other
integers, including those corresponding to raw bytes, are printed
as numbers the usual way.  */);