|
@@ -339,6 +339,7 @@ of a different task.")
|
|
|
(if (< i 10)
|
|
|
(+ i ?0)
|
|
|
(+ i (- ?A 10))) m))
|
|
|
+ (if (fboundp 'int-to-char) (setq s (int-to-char s)))
|
|
|
(push s sel-list)))
|
|
|
org-clock-history)
|
|
|
(org-fit-window-to-buffer)
|
|
@@ -700,12 +701,17 @@ was started."
|
|
|
(goto-char (match-end 0)))
|
|
|
nil))))))
|
|
|
(let (char-pressed)
|
|
|
- (while (null char-pressed)
|
|
|
- (setq char-pressed
|
|
|
- (read-char (concat (funcall prompt-fn clock)
|
|
|
- " [(kK)eep (sS)ubtract (C)ancel]? ")
|
|
|
- nil 45)))
|
|
|
- char-pressed))))
|
|
|
+ (if (featurep 'xemacs)
|
|
|
+ (progn
|
|
|
+ (message (concat (funcall prompt-fn clock)
|
|
|
+ " [(kK)eep (sS)ubtract (C)ancel]? "))
|
|
|
+ (setq char-pressed (read-char-exclusive)))
|
|
|
+ (while (null char-pressed)
|
|
|
+ (setq char-pressed
|
|
|
+ (read-char (concat (funcall prompt-fn clock)
|
|
|
+ " [(kK)eep (sS)ubtract (C)ancel]? ")
|
|
|
+ nil 45)))
|
|
|
+ char-pressed)))))
|
|
|
(default (floor (/ (org-float-time
|
|
|
(time-subtract (current-time) last-valid)) 60)))
|
|
|
(keep (and (memq ch '(?k ?K))
|