changeset 64323:ad0c51726dbd

(term-mode): Disable cua-mode for term buffers.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 14 Jul 2005 17:39:46 +0000
parents ef93765580b3
children b0ebddde406c
files lisp/ChangeLog lisp/term.el
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Thu Jul 14 13:07:06 2005 +0000
+++ b/lisp/ChangeLog	Thu Jul 14 17:39:46 2005 +0000
@@ -1,3 +1,7 @@
+2005-07-14  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* term.el (term-mode): Disable cua-mode for term buffers.
+
 2005-07-14  Juanma Barranquero  <lekktu@gmail.com>
 
 	* add-log.el (add-log-mailing-address, change-log-merge): Doc fix.
--- a/lisp/term.el	Thu Jul 14 13:07:06 2005 +0000
+++ b/lisp/term.el	Thu Jul 14 17:39:46 2005 +0000
@@ -1102,6 +1102,8 @@
   (make-local-variable 'term-current-face)
   (make-local-variable 'term-pending-frame)
   (setq term-pending-frame nil)
+  ;; Cua-mode's keybindings interfere with the term keybindings, disable it. 
+  (set (make-local-variable 'cua-mode) nil)
   (run-mode-hooks 'term-mode-hook)
   (term-if-xemacs
    (set-buffer-menubar