Variable: binary-as-unsigned

binary-as-unsigned is a variable defined in editfns.c.

Value

nil

Documentation

Non-nil means format %x and %o treat integers as unsigned.

This has machine-dependent results. Nil means to treat integers as signed, which is portable and is the default; for example, if N is a negative integer, (read (format "#x%x" N)) returns N only when this variable is nil.

This variable is experimental; email 32252@debbugs.gnu.org if you need it to be non-nil.

Probably introduced at or before Emacs version 27.1.

Source Code

// Defined in /usr/src/emacs/src/editfns.c
  DEFVAR_BOOL ("binary-as-unsigned",
	       binary_as_unsigned,
	       doc: /* Non-nil means `format' %x and %o treat integers as unsigned.
This has machine-dependent results.  Nil means to treat integers as
signed, which is portable and is the default; for example, if N is a
negative integer, (read (format "#x%x" N)) returns N only when this
variable is nil.

This variable is experimental; email 32252@debbugs.gnu.org if you need
it to be non-nil.  */);