diff options
| author | Stefan Monnier | 2009-12-01 20:44:21 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-12-01 20:44:21 +0000 |
| commit | 9946be4640d850bcbb7c5989c5b1335ceb0852ad (patch) | |
| tree | 1e58070bcf78b7db9a40289716567c65732893fe | |
| parent | e7440df4ecdb7b908996c144fca445f59d96b82b (diff) | |
| download | emacs-9946be4640d850bcbb7c5989c5b1335ceb0852ad.tar.gz emacs-9946be4640d850bcbb7c5989c5b1335ceb0852ad.zip | |
(tpu-cursor-free-mode): Emit message.
(tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message any more.
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/emulation/tpu-extras.el | 11 |
2 files changed, 12 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 93634ce6451..c0586d9b4ee 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU> | ||
| 2 | |||
| 3 | * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message. | ||
| 4 | (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message | ||
| 5 | any more. | ||
| 6 | |||
| 1 | 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca> | 7 | 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 8 | ||
| 3 | * comint.el (comint-insert-input): Ignore clicks to the right of | 9 | * comint.el (comint-insert-input): Ignore clicks to the right of |
diff --git a/lisp/emulation/tpu-extras.el b/lisp/emulation/tpu-extras.el index 6d0823ceb75..2c8ac28157b 100644 --- a/lisp/emulation/tpu-extras.el +++ b/lisp/emulation/tpu-extras.el | |||
| @@ -135,7 +135,10 @@ the previous line when starting from a line beginning." | |||
| 135 | "Minor mode to allow the cursor to move freely about the screen." | 135 | "Minor mode to allow the cursor to move freely about the screen." |
| 136 | :init-value nil | 136 | :init-value nil |
| 137 | (if (not tpu-cursor-free-mode) | 137 | (if (not tpu-cursor-free-mode) |
| 138 | (tpu-trim-line-ends))) | 138 | (tpu-trim-line-ends)) |
| 139 | (if (not tpu-cursor-free-mode) | ||
| 140 | (message "The cursor is now bound to the flow of your text.") | ||
| 141 | (message "The cursor will now move freely about the screen."))) | ||
| 139 | 142 | ||
| 140 | 143 | ||
| 141 | ;;; Hooks -- Set cursor free in picture mode. | 144 | ;;; Hooks -- Set cursor free in picture mode. |
| @@ -447,15 +450,13 @@ A repeat count means scroll that many sections." | |||
| 447 | (defun tpu-set-cursor-free () | 450 | (defun tpu-set-cursor-free () |
| 448 | "Allow the cursor to move freely about the screen." | 451 | "Allow the cursor to move freely about the screen." |
| 449 | (interactive) | 452 | (interactive) |
| 450 | (tpu-cursor-free-mode 1) | 453 | (tpu-cursor-free-mode 1)) |
| 451 | (message "The cursor will now move freely about the screen.")) | ||
| 452 | 454 | ||
| 453 | ;;;###autoload | 455 | ;;;###autoload |
| 454 | (defun tpu-set-cursor-bound () | 456 | (defun tpu-set-cursor-bound () |
| 455 | "Constrain the cursor to the flow of the text." | 457 | "Constrain the cursor to the flow of the text." |
| 456 | (interactive) | 458 | (interactive) |
| 457 | (tpu-cursor-free-mode -1) | 459 | (tpu-cursor-free-mode -1)) |
| 458 | (message "The cursor is now bound to the flow of your text.")) | ||
| 459 | 460 | ||
| 460 | ;; Local Variables: | 461 | ;; Local Variables: |
| 461 | ;; generated-autoload-file: "tpu-edt.el" | 462 | ;; generated-autoload-file: "tpu-edt.el" |