diff options
| author | Juanma Barranquero | 2006-11-06 02:42:45 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2006-11-06 02:42:45 +0000 |
| commit | 556dfc1eb32809f5e7a55d24c1feaac2e7221891 (patch) | |
| tree | 0ca9e9207d090aa8872319ec74f0a6f1e611d97a | |
| parent | 094dce78dca44543cc251d58197ed427d11f970d (diff) | |
| download | emacs-556dfc1eb32809f5e7a55d24c1feaac2e7221891.tar.gz emacs-556dfc1eb32809f5e7a55d24c1feaac2e7221891.zip | |
(t-mouse-process, t-mouse-mode): Fix typos in docstrings.
| -rw-r--r-- | lisp/t-mouse.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/t-mouse.el b/lisp/t-mouse.el index 06b77840c0d..1a4ca969954 100644 --- a/lisp/t-mouse.el +++ b/lisp/t-mouse.el | |||
| @@ -38,7 +38,7 @@ | |||
| 38 | ;; now position sensitive. | 38 | ;; now position sensitive. |
| 39 | 39 | ||
| 40 | (defvar t-mouse-process nil | 40 | (defvar t-mouse-process nil |
| 41 | "Embeds the process which passes mouse events to emacs. | 41 | "Embeds the process which passes mouse events to Emacs. |
| 42 | It is used by the program t-mouse.") | 42 | It is used by the program t-mouse.") |
| 43 | 43 | ||
| 44 | (defvar t-mouse-filter-accumulator "" | 44 | (defvar t-mouse-filter-accumulator "" |
| @@ -123,7 +123,7 @@ For example, \"2\" for /dev/tty2." | |||
| 123 | (if (null l1) l2 | 123 | (if (null l1) l2 |
| 124 | (append (mapcar (function (lambda (x) (append (nth 0 l1) x))) l2) | 124 | (append (mapcar (function (lambda (x) (append (nth 0 l1) x))) l2) |
| 125 | (t-mouse-cartesian (cdr l1) l2)))) | 125 | (t-mouse-cartesian (cdr l1) l2)))) |
| 126 | 126 | ||
| 127 | (let* ((modifier-sets (t-mouse-powerset '(control meta shift))) | 127 | (let* ((modifier-sets (t-mouse-powerset '(control meta shift))) |
| 128 | (typed-sets (t-mouse-cartesian '((down) (drag)) | 128 | (typed-sets (t-mouse-cartesian '((down) (drag)) |
| 129 | '((mouse-1) (mouse-2) (mouse-3)))) | 129 | '((mouse-1) (mouse-2) (mouse-3)))) |
| @@ -178,9 +178,9 @@ Also trim the accumulator by all the data used to build the event." | |||
| 178 | ((event-name-string (symbol-name event-type)) | 178 | ((event-name-string (symbol-name event-type)) |
| 179 | end-of-root-event-name | 179 | end-of-root-event-name |
| 180 | new-event-name-string) | 180 | new-event-name-string) |
| 181 | 181 | ||
| 182 | (if (string-match "-\\(21\\|\\12\\)$" event-name-string) | 182 | (if (string-match "-\\(21\\|\\12\\)$" event-name-string) |
| 183 | 183 | ||
| 184 | ;;Transform the name to what it should have been. | 184 | ;;Transform the name to what it should have been. |
| 185 | (progn | 185 | (progn |
| 186 | (setq end-of-root-event-name (match-beginning 0)) | 186 | (setq end-of-root-event-name (match-beginning 0)) |
| @@ -188,12 +188,12 @@ Also trim the accumulator by all the data used to build the event." | |||
| 188 | (concat (substring | 188 | (concat (substring |
| 189 | event-name-string 0 | 189 | event-name-string 0 |
| 190 | end-of-root-event-name) "-3")) | 190 | end-of-root-event-name) "-3")) |
| 191 | 191 | ||
| 192 | ;;Change the event to the symbol that corresponds to the | 192 | ;;Change the event to the symbol that corresponds to the |
| 193 | ;;name we made. The proper symbol already exists. | 193 | ;;name we made. The proper symbol already exists. |
| 194 | (setq event-type | 194 | (setq event-type |
| 195 | (intern new-event-name-string)))))) | 195 | (intern new-event-name-string)))))) |
| 196 | 196 | ||
| 197 | ;;store current position for mouse-position | 197 | ;;store current position for mouse-position |
| 198 | 198 | ||
| 199 | (setq t-mouse-current-xy (nth 0 current-xy-avec-time)) | 199 | (setq t-mouse-current-xy (nth 0 current-xy-avec-time)) |
| @@ -269,7 +269,7 @@ The (secret) scrollbar interface is not implemented yet." | |||
| 269 | "Toggle t-mouse mode. | 269 | "Toggle t-mouse mode. |
| 270 | With prefix arg, turn t-mouse mode on iff arg is positive. | 270 | With prefix arg, turn t-mouse mode on iff arg is positive. |
| 271 | 271 | ||
| 272 | Turn it on to use emacs mouse commands, and off to use t-mouse commands." | 272 | Turn it on to use Emacs mouse commands, and off to use t-mouse commands." |
| 273 | nil " Mouse" nil :global t | 273 | nil " Mouse" nil :global t |
| 274 | (if t-mouse-mode | 274 | (if t-mouse-mode |
| 275 | ;; Turn it on | 275 | ;; Turn it on |