diff options
| author | Glenn Morris | 2009-01-09 04:57:03 +0000 |
|---|---|---|
| committer | Glenn Morris | 2009-01-09 04:57:03 +0000 |
| commit | cfa29281070a1f7868ed42f330d9a666b2fc39e2 (patch) | |
| tree | ab884c7a90606559daaa75c4efea4acdfbb66431 | |
| parent | 0f69e911dc3d3782f3632ff72d256f1773fa76c3 (diff) | |
| download | emacs-cfa29281070a1f7868ed42f330d9a666b2fc39e2.tar.gz emacs-cfa29281070a1f7868ed42f330d9a666b2fc39e2.zip | |
Comment (replace last-input-char with last-input-event).
| -rw-r--r-- | lisp/eshell/em-term.el | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/lisp/eshell/em-term.el b/lisp/eshell/em-term.el index a7744e87940..b3288982722 100644 --- a/lisp/eshell/em-term.el +++ b/lisp/eshell/em-term.el | |||
| @@ -159,27 +159,27 @@ allowed." | |||
| 159 | ; without any interpretation." | 159 | ; without any interpretation." |
| 160 | ; (interactive) | 160 | ; (interactive) |
| 161 | ; ;; Convert `return' to C-m, etc. | 161 | ; ;; Convert `return' to C-m, etc. |
| 162 | ; (if (and (symbolp last-input-char) | 162 | ; (if (and (symbolp last-input-event) |
| 163 | ; (get last-input-char 'ascii-character)) | 163 | ; (get last-input-event 'ascii-character)) |
| 164 | ; (setq last-input-char (get last-input-char 'ascii-character))) | 164 | ; (setq last-input-event (get last-input-event 'ascii-character))) |
| 165 | ; (eshell-term-send-raw-string (make-string 1 last-input-char))) | 165 | ; (eshell-term-send-raw-string (make-string 1 last-input-event))) |
| 166 | 166 | ||
| 167 | ; (defun eshell-term-send-raw-meta () | 167 | ; (defun eshell-term-send-raw-meta () |
| 168 | ; (interactive) | 168 | ; (interactive) |
| 169 | ; (if (symbolp last-input-char) | 169 | ; (if (symbolp last-input-event) |
| 170 | ; ;; Convert `return' to C-m, etc. | 170 | ; ;; Convert `return' to C-m, etc. |
| 171 | ; (let ((tmp (get last-input-char 'event-symbol-elements))) | 171 | ; (let ((tmp (get last-input-event 'event-symbol-elements))) |
| 172 | ; (if tmp | 172 | ; (if tmp |
| 173 | ; (setq last-input-char (car tmp))) | 173 | ; (setq last-input-event (car tmp))) |
| 174 | ; (if (symbolp last-input-char) | 174 | ; (if (symbolp last-input-event) |
| 175 | ; (progn | 175 | ; (progn |
| 176 | ; (setq tmp (get last-input-char 'ascii-character)) | 176 | ; (setq tmp (get last-input-event 'ascii-character)) |
| 177 | ; (if tmp (setq last-input-char tmp)))))) | 177 | ; (if tmp (setq last-input-event tmp)))))) |
| 178 | ; (eshell-term-send-raw-string (if (and (numberp last-input-char) | 178 | ; (eshell-term-send-raw-string (if (and (numberp last-input-event) |
| 179 | ; (> last-input-char 127) | 179 | ; (> last-input-event 127) |
| 180 | ; (< last-input-char 256)) | 180 | ; (< last-input-event 256)) |
| 181 | ; (make-string 1 last-input-char) | 181 | ; (make-string 1 last-input-event) |
| 182 | ; (format "\e%c" last-input-char)))) | 182 | ; (format "\e%c" last-input-event)))) |
| 183 | 183 | ||
| 184 | ; (defun eshell-term-mouse-paste (click arg) | 184 | ; (defun eshell-term-mouse-paste (click arg) |
| 185 | ; "Insert the last stretch of killed text at the position clicked on." | 185 | ; "Insert the last stretch of killed text at the position clicked on." |