From: Dan Nicolaescu Date: Thu, 14 Jul 2005 17:39:46 +0000 (+0000) Subject: (term-mode): Disable cua-mode for term buffers. X-Git-Tag: emacs-pretest-22.0.90~8146 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9ea818ab0babaf579732afdc790afad50aa9b2e5;p=emacs.git (term-mode): Disable cua-mode for term buffers. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d0f8c90ae1a..257843eb7ff 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --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'." (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