Function: calc-top
calc-top is a byte-compiled function defined in calc.el.gz.
Signature
(calc-top &optional N SEL-MODE)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc.el.gz
;; Get the Nth element of the stack (N=1 is the top element).
(defun calc-top (&optional n sel-mode)
(or n (setq n 1))
(calc-check-stack n)
(calc-get-stack-element (nth (+ n calc-stack-top -1) calc-stack) sel-mode))