diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/tempo.el | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lisp/tempo.el b/lisp/tempo.el index 261dac71818..383dcd40d24 100644 --- a/lisp/tempo.el +++ b/lisp/tempo.el | |||
| @@ -315,9 +315,9 @@ mode, ON-REGION is ignored and assumed true if the region is active." | |||
| 315 | (goto-char tempo-region-start)) | 315 | (goto-char tempo-region-start)) |
| 316 | (save-excursion | 316 | (save-excursion |
| 317 | (tempo-insert-mark (point-marker)) | 317 | (tempo-insert-mark (point-marker)) |
| 318 | (mapcar (function (lambda (elt) | 318 | (mapc (function (lambda (elt) |
| 319 | (tempo-insert elt on-region))) | 319 | (tempo-insert elt on-region))) |
| 320 | (symbol-value template)) | 320 | (symbol-value template)) |
| 321 | (tempo-insert-mark (point-marker))) | 321 | (tempo-insert-mark (point-marker))) |
| 322 | (tempo-forward-mark)) | 322 | (tempo-forward-mark)) |
| 323 | (tempo-forget-insertions) | 323 | (tempo-forget-insertions) |
| @@ -460,10 +460,10 @@ never prompted." | |||
| 460 | "Tries all the user-defined element handlers in `tempo-user-elements'." | 460 | "Tries all the user-defined element handlers in `tempo-user-elements'." |
| 461 | ;; Sigh... I need (some list) | 461 | ;; Sigh... I need (some list) |
| 462 | (catch 'found | 462 | (catch 'found |
| 463 | (mapcar (function (lambda (handler) | 463 | (mapc (function (lambda (handler) |
| 464 | (let ((result (funcall handler element))) | 464 | (let ((result (funcall handler element))) |
| 465 | (if result (throw 'found result))))) | 465 | (if result (throw 'found result))))) |
| 466 | tempo-user-elements) | 466 | tempo-user-elements) |
| 467 | (throw 'found nil))) | 467 | (throw 'found nil))) |
| 468 | 468 | ||
| 469 | ;;; | 469 | ;;; |
| @@ -556,7 +556,7 @@ and insert the results." | |||
| 556 | "Jump to the next mark in `tempo-forward-mark-list'." | 556 | "Jump to the next mark in `tempo-forward-mark-list'." |
| 557 | (interactive) | 557 | (interactive) |
| 558 | (let ((next-mark (catch 'found | 558 | (let ((next-mark (catch 'found |
| 559 | (mapcar | 559 | (mapc |
| 560 | (function | 560 | (function |
| 561 | (lambda (mark) | 561 | (lambda (mark) |
| 562 | (if (< (point) mark) | 562 | (if (< (point) mark) |
| @@ -575,7 +575,7 @@ and insert the results." | |||
| 575 | (interactive) | 575 | (interactive) |
| 576 | (let ((prev-mark (catch 'found | 576 | (let ((prev-mark (catch 'found |
| 577 | (let (last) | 577 | (let (last) |
| 578 | (mapcar | 578 | (mapc |
| 579 | (function | 579 | (function |
| 580 | (lambda (mark) | 580 | (lambda (mark) |
| 581 | (if (<= (point) mark) | 581 | (if (<= (point) mark) |