# HG changeset patch # User Dan Nicolaescu # Date 1121362786 0 # Node ID ad0c51726dbdd575758aa8891fdd511403d4d00c # Parent ef93765580b3301c10a71a2e4032b23541e93327 (term-mode): Disable cua-mode for term buffers. diff -r ef93765580b3 -r ad0c51726dbd lisp/ChangeLog --- 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 + + * term.el (term-mode): Disable cua-mode for term buffers. + 2005-07-14 Juanma Barranquero * add-log.el (add-log-mailing-address, change-log-merge): Doc fix. diff -r ef93765580b3 -r ad0c51726dbd lisp/term.el --- 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