0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-04 22:42:59 +00:00

Merge branch 'maint'

This commit is contained in:
Bastien Guerry 2013-04-24 11:36:47 +02:00
commit e87dc9df1a

View file

@ -16075,9 +16075,13 @@ So these are more for recording a certain time/date."
(set-keymap-parent map minibuffer-local-map)
(org-defkey map (kbd ".")
(lambda () (interactive)
(if (= (char-before) 32)
;; Are we at the beginning of the prompt?
(if (looking-back "^[^:]+: ")
(org-eval-in-calendar '(calendar-goto-today))
(insert "."))))
(org-defkey map (kbd "C-.")
(lambda () (interactive)
(org-eval-in-calendar '(calendar-goto-today))))
(org-defkey map [(meta shift left)]
(lambda () (interactive)
(org-eval-in-calendar '(calendar-backward-month 1))))