a guest Jan 12th, 2018 39 Never
- (defun allow-toggle-timestamp-p ()
- ((eq last-command 'org-time-stamp) t)
- ((eq last-command 'org-toggle-timestamp-type) t)
- (define-key org-mode-map "!"
- `(menu-item "" org-toggle-timestamp-type
- :filter ,(lambda (cmd) (if (allow-toggle-timestamp-p) cmd))))
RAW Paste Data