Function: org-agenda-remove-flag

org-agenda-remove-flag is a byte-compiled function defined in org-agenda.el.gz.

Signature

(org-agenda-remove-flag MARKER)

Documentation

Remove the FLAGGED tag and any flagging note in the entry.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-agenda.el.gz
(defun org-agenda-remove-flag (marker)
  "Remove the FLAGGED tag and any flagging note in the entry."
  (let ((newhead
         (org-with-point-at marker
           (org-toggle-tag "FLAGGED" 'off)
           (org-entry-delete nil "THEFLAGGINGNOTE")
           (org-get-heading))))
    (org-agenda-change-all-lines newhead marker)
    (message "Entry unflagged")))