Function: calc-help-index-entries

calc-help-index-entries is a byte-compiled function defined in calc-help.el.gz.

Signature

(calc-help-index-entries &rest INDICES)

Documentation

Create a list of entries from the INDICES in the Calc info manual.

Source Code

;; Defined in /usr/src/emacs/lisp/calc/calc-help.el.gz
(defun calc-help-index-entries (&rest indices)
  "Create a list of entries from the INDICES in the Calc info manual."
  (let ((entrylist '())
        entry)
    (require 'info nil t)
    (dolist (indice indices)
      (ignore-errors
        (with-temp-buffer
          (Info-mode)
          (Info-goto-node (concat "(Calc)" indice " Index"))
          (goto-char (point-min))
          (while (re-search-forward "\n\\* \\(.*\\): " nil t)
            (setq entry (match-string 1))
            (if (and (not (string-match "<[1-9]+>" entry))
                     (not (string-match "(.*)" entry))
                     (not (string= entry "Menu")))
                (unless (assoc entry entrylist)
                  (setq entrylist (cons entry entrylist))))))))
    entrylist))