Function: event-apply-alt-modifier

event-apply-alt-modifier is a byte-compiled function defined in simple.el.gz.

Signature

(event-apply-alt-modifier IGNORE-PROMPT)

Documentation

Add the Alt modifier to the following event.

For example, type C-x @ a (event-apply-alt-modifier) & to enter Alt-&.

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
;;; Support keyboard commands to turn on various modifiers.

;; These functions -- which are not commands -- each add one modifier
;; to the following event.

(defun event-apply-alt-modifier (_ignore-prompt)
  "\\<function-key-map>Add the Alt modifier to the following event.
For example, type \\[event-apply-alt-modifier] & to enter Alt-&."
  (vector (event-apply-modifier (read-event) 'alt 22 "A-")))