From a4fa053f0e65bec2c5aa1e10a758cb4cc012921f Mon Sep 17 00:00:00 2001 From: Ivan Andrus Date: Sat, 9 Mar 2019 11:03:05 -0700 Subject: [PATCH] Mention `binary-as-unsigned' in `format' docstring (Bug#34792) * src/src/editfns.c (format): Update docstring to mention binary-as-unsigned (Bug#34792) --- src/editfns.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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. -- 2.39.2