Function: dframe-popup-kludge

dframe-popup-kludge is an interactive and byte-compiled function defined in dframe.el.gz.

Signature

(dframe-popup-kludge E)

Documentation

Pop up a menu related to the clicked on item.

Must be bound to event E.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/dframe.el.gz
(defun dframe-popup-kludge (e)
  "Pop up a menu related to the clicked on item.
Must be bound to event E."
  (interactive "e")
  (save-excursion
    (mouse-set-point e)
    ;; This gets the cursor where the user can see it.
    (if (not (bolp)) (forward-char -1))
    (sit-for 0)
    (popup-menu (mouse-menu-major-mode-map) e)))