Function: tmm-add-shortcuts

tmm-add-shortcuts is a byte-compiled function defined in tmm.el.gz.

Signature

(tmm-add-shortcuts LIST)

Documentation

Add shortcuts to cars of elements of the list.

Takes a list of lists with a string as car, returns list with shortcuts added to these cars. Stores a list of all the shortcuts in the free variable tmm-short-cuts.

Source Code

;; Defined in /usr/src/emacs/lisp/tmm.el.gz
(defun tmm-add-shortcuts (list)
  "Add shortcuts to cars of elements of the list.
Takes a list of lists with a string as car, returns list with
shortcuts added to these cars.
Stores a list of all the shortcuts in the free variable `tmm-short-cuts'."
  (let ((tmm-next-shortcut-digit ?0))
    (mapcar #'tmm-add-one-shortcut (reverse list))))