Function: org-mouse-get-priority

org-mouse-get-priority is a byte-compiled function defined in org-mouse.el.gz.

Signature

(org-mouse-get-priority &optional DEFAULT)

Documentation

Return the priority of the current headline.

DEFAULT is returned if no priority is given in the headline.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-mouse.el.gz
(defun org-mouse-get-priority (&optional default)
  "Return the priority of the current headline.
DEFAULT is returned if no priority is given in the headline."
  (save-excursion
    (if (org-mouse-re-search-line org-mouse-priority-regexp)
	(match-string 1)
      (when default (char-to-string org-priority-default)))))