]> git.eshelyaron.com Git - emacs.git/commitdiff
(term-mode): Disable cua-mode for term buffers.
authorDan Nicolaescu <dann@ics.uci.edu>
Thu, 14 Jul 2005 17:39:46 +0000 (17:39 +0000)
committerDan Nicolaescu <dann@ics.uci.edu>
Thu, 14 Jul 2005 17:39:46 +0000 (17:39 +0000)
lisp/ChangeLog
lisp/term.el

index d0f8c90ae1a6b9db59ad871561bef758a65e7772..257843eb7ffafcf888a3a7242a9fafd9d4691ad4 100644 (file)
@@ -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.
index 047db5708af46b3137126b6b51c978155f88882f..22159ff3a5e5d761ab3f0fe700c797366e7a880e 100644 (file)
@@ -1102,6 +1102,8 @@ Entry to this mode runs the hooks on `term-mode-hook'."
   (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