]> code.delx.au - gnu-emacs/blobdiff - lisp/calculator.el
Connect electric-indent-mode up with CC Mode. Bug #15478.
[gnu-emacs] / lisp / calculator.el
index 3018080da9deb9110dc2e126e6a33aa2d6bdb651..d6eb892f7fb2cf3dec56e212ae2062212bcabf96 100644 (file)
@@ -1618,6 +1618,8 @@ Optional string argument KEYS will force using it as the keys entered."
              (setq s (match-string 1 s)))
            (kill-new s)))))
 
+;; FIXME this should use register-read-with-preview, but it
+;; uses calculator-registers rather than register-alist.
 (defun calculator-set-register (reg)
   "Set a register value for REG."
   (interactive "cRegister to store into: ")
@@ -1660,6 +1662,8 @@ Used by `calculator-paste' and `get-register'."
                             (or (match-string 3 str) ""))))
      (ignore-errors (calculator-string-to-number str)))))
 
+;; FIXME this should use register-read-with-preview, but it
+;; uses calculator-registers rather than register-alist.
 (defun calculator-get-register (reg)
   "Get a value from a register REG."
   (interactive "cRegister to get value from: ")