diff options
| author | Dan Nicolaescu | 2005-07-14 17:39:46 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2005-07-14 17:39:46 +0000 |
| commit | 9ea818ab0babaf579732afdc790afad50aa9b2e5 (patch) | |
| tree | 1091b3fcad70fe940d633982e86d1d0bc3d56bd0 | |
| parent | edc8ec9f9fd97fc3b132d5592f620d07008bff3a (diff) | |
| download | emacs-9ea818ab0babaf579732afdc790afad50aa9b2e5.tar.gz emacs-9ea818ab0babaf579732afdc790afad50aa9b2e5.zip | |
(term-mode): Disable cua-mode for term buffers.
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/term.el | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d0f8c90ae1a..257843eb7ff 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2005-07-14 Dan Nicolaescu <dann@ics.uci.edu> | ||
| 2 | |||
| 3 | * term.el (term-mode): Disable cua-mode for term buffers. | ||
| 4 | |||
| 1 | 2005-07-14 Juanma Barranquero <lekktu@gmail.com> | 5 | 2005-07-14 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 6 | ||
| 3 | * add-log.el (add-log-mailing-address, change-log-merge): Doc fix. | 7 | * add-log.el (add-log-mailing-address, change-log-merge): Doc fix. |
diff --git a/lisp/term.el b/lisp/term.el index 047db5708af..22159ff3a5e 100644 --- a/lisp/term.el +++ b/lisp/term.el | |||
| @@ -1102,6 +1102,8 @@ Entry to this mode runs the hooks on `term-mode-hook'." | |||
| 1102 | (make-local-variable 'term-current-face) | 1102 | (make-local-variable 'term-current-face) |
| 1103 | (make-local-variable 'term-pending-frame) | 1103 | (make-local-variable 'term-pending-frame) |
| 1104 | (setq term-pending-frame nil) | 1104 | (setq term-pending-frame nil) |
| 1105 | ;; Cua-mode's keybindings interfere with the term keybindings, disable it. | ||
| 1106 | (set (make-local-variable 'cua-mode) nil) | ||
| 1105 | (run-mode-hooks 'term-mode-hook) | 1107 | (run-mode-hooks 'term-mode-hook) |
| 1106 | (term-if-xemacs | 1108 | (term-if-xemacs |
| 1107 | (set-buffer-menubar | 1109 | (set-buffer-menubar |