Function: math-restore-placeholders
math-restore-placeholders is a byte-compiled function defined in
calc-aent.el.gz.
Signature
(math-restore-placeholders X)
Documentation
Replace placeholders by the proper characters in the symbol x.
This includes # for _ and ' for %.
If the current Calc language does not use placeholders, return nil.
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-aent.el.gz
(defun math-restore-placeholders (x)
"Replace placeholders by the proper characters in the symbol x.
This includes `#' for `_' and `'' for `%'.
If the current Calc language does not use placeholders, return nil."
(if (or (memq calc-language calc-lang-allow-underscores)
(memq calc-language calc-lang-allow-percentsigns))
(let ((sx (symbol-name x)))
(when (memq calc-language calc-lang-allow-percentsigns)
(require 'calccomp)
(setq sx (math-to-percentsigns sx)))
(if (memq calc-language calc-lang-allow-underscores)
(setq sx (math-string-restore-underscores sx)))
(intern-soft sx))))