Function: org-calendar-goto-today-or-insert-dot

org-calendar-goto-today-or-insert-dot is an interactive and byte-compiled function defined in org.el.gz.

Signature

(org-calendar-goto-today-or-insert-dot)

Documentation

Go to the current date, or insert a dot.

If at the beginning of the prompt, behave as org-calendar-goto-today else insert ".".

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-calendar-goto-today-or-insert-dot ()
  "Go to the current date, or insert a dot.

If at the beginning of the prompt, behave as `org-calendar-goto-today' else
insert \".\"."
  (interactive)
  ;; Are we at the beginning of the prompt?
  (if (looking-back "^[^:]+: "
		    (let ((inhibit-field-text-motion t))
		      (line-beginning-position)))
      (org-eval-in-calendar '(calendar-goto-today))
    (insert ".")))