diff options
author | Jay Belanger <jay.p.belanger@gmail.com> | 2010-04-17 23:13:09 -0500 |
---|---|---|
committer | Jay Belanger <jay.p.belanger@gmail.com> | 2010-04-17 23:13:09 -0500 |
commit | f8b91752dda437746ff89e62a63760aa6efe0dda (patch) | |
tree | 2328c333e5d1edb200ea5d0f601034b47d7c68f3 /lisp/calc/calc-bin.el | |
parent | a0d3397536d7507875fd3d5e2a8bb4b840c49013 (diff) | |
download | emacs-f8b91752dda437746ff89e62a63760aa6efe0dda.tar.gz emacs-f8b91752dda437746ff89e62a63760aa6efe0dda.tar.bz2 emacs-f8b91752dda437746ff89e62a63760aa6efe0dda.zip |
calc-bin.el (calc-radix): Have the O option turn on twos-complement mode.
Diffstat (limited to 'lisp/calc/calc-bin.el')
-rw-r--r-- | lisp/calc/calc-bin.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/calc/calc-bin.el b/lisp/calc/calc-bin.el index 7af60e92140..0e31fbe681c 100644 --- a/lisp/calc/calc-bin.el +++ b/lisp/calc/calc-bin.el @@ -175,7 +175,7 @@ the size of a Calc bignum digit.") (progn (calc-change-mode (list 'calc-number-radix 'calc-twos-complement-mode) - (list n (and (or (= n 2) (= n 8) (= n 16)) arg)) t) + (list n (or arg (calc-is-option))) t) ;; also change global value so minibuffer sees it (setq-default calc-number-radix calc-number-radix)) (setq n calc-number-radix)) |