From: Ivan Andrus Date: Sat, 9 Mar 2019 18:03:05 +0000 (-0700) Subject: Mention `binary-as-unsigned' in `format' docstring (Bug#34792) X-Git-Tag: emacs-27.0.90~3445 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a4fa053f0e65bec2c5aa1e10a758cb4cc012921f;p=emacs.git Mention `binary-as-unsigned' in `format' docstring (Bug#34792) * src/src/editfns.c (format): Update docstring to mention binary-as-unsigned (Bug#34792) --- diff --git a/src/editfns.c b/src/editfns.c index bffb5db43ef..af39d358bd9 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -2989,8 +2989,10 @@ the next available argument, or the argument explicitly specified: %s means print a string argument. Actually, prints any object, with `princ'. %d means print as signed number in decimal. -%o means print as unsigned number in octal. -%x means print as unsigned number in hex. +%o means print a number in octal. The value of `binary-as-unsigned' + determines whether it's printed as signed or unsigned. +%x means print a number in hex. The value of `binary-as-unsigned' + determines whether it's printed as signed or unsigned. %X is like %x, but uses upper case. %e means print a number in exponential notation. %f means print a number in decimal-point notation.