summaryrefslogtreecommitdiff
path: root/lisp/progmodes/cc-mode.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-07-23 01:42:32 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-07-23 01:46:41 -0700
commitdfb0ba79b5f41ca6fed25a03d2a5cd6996ec4753 (patch)
tree87426b1fde8da618b4e7657b09bc256f5c011dcc /lisp/progmodes/cc-mode.el
parent56a3e4a5d366a8453608d9a604ebd5ddb4e52245 (diff)
downloademacs-dfb0ba79b5f41ca6fed25a03d2a5cd6996ec4753.tar.gz
emacs-dfb0ba79b5f41ca6fed25a03d2a5cd6996ec4753.tar.bz2
emacs-dfb0ba79b5f41ca6fed25a03d2a5cd6996ec4753.zip
Support "%x" etc. formats on more floats
* doc/lispref/strings.texi (Formatting Strings): Document this. * src/editfns.c (styled_format): Support %o, %x, and %X on finite floats less than zero or greater than UINTMAX_MAX. * test/src/editfns-tests.el (format-%x-large-float) (read-large-integer, format-%o-negative-float): Adjust tests to match extended behavior. Rename the latter test from format-%o-invalid-float, since the float is no longer invalid. * test/src/editfns-tests.el (format-%x-large-float) (read-large-integer): Test this.
Diffstat (limited to 'lisp/progmodes/cc-mode.el')
0 files changed, 0 insertions, 0 deletions