Function: org-mouse-delete-timestamp

org-mouse-delete-timestamp is a byte-compiled function defined in org-mouse.el.gz.

Signature

(org-mouse-delete-timestamp)

Documentation

Deletes the current timestamp as well as the preceding keyword.

SCHEDULED: or DEADLINE: or ANYTHINGLIKETHIS:

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-mouse.el.gz
(defun org-mouse-delete-timestamp ()
  "Deletes the current timestamp as well as the preceding keyword.
SCHEDULED: or DEADLINE: or ANYTHINGLIKETHIS:"
  (when (or (org-at-date-range-p) (org-at-timestamp-p 'lax))
    (replace-match "")			;delete the timestamp
    (skip-chars-backward " :A-Z")
    (when (looking-at " *[A-Z][A-Z]+:")
      (replace-match ""))))