X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/5773891df7ff28ba6dd9166216fc5ec94799b29f..8d892d7fef218001fa8ef828db4a5a864448f950:/lisp/term.el diff --git a/lisp/term.el b/lisp/term.el index 3295c87da1..9d6ee5a4e9 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -1,6 +1,7 @@ ;;; term.el --- general command interpreter in a window stuff -;;; Copyright (C) 1988, 1990, 1992, 1994, 1995, 2004 Free Software Foundation, Inc. +;; Copyright (C) 1988, 1990, 1992, 1994, 1995, 2002, 2003, +;; 2004, 2005 Free Software Foundation, Inc. ;; Author: Per Bothner ;; Maintainer: Dan Nicolaescu , Per Bothner @@ -21,8 +22,8 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, -;; Boston, MA 02111-1307, USA. +;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;; Boston, MA 02110-1301, USA. ;;; Marck 13 2001 ;;; Fixes for CJK support by Yong Lu . @@ -405,7 +406,7 @@ (require 'ehelp) (defgroup term nil - "General command interpreter in a window" + "General command interpreter in a window." :group 'processes :group 'unix) @@ -1102,6 +1103,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 @@ -1574,7 +1577,7 @@ See also `term-read-input-ring'." (sit-for 0) (message "Hit space to flush") (let ((ch (read-event))) - (if (eq ch ?\ ) + (if (eq ch ?\s) (set-window-configuration conf) (setq unread-command-events (list ch))))))) @@ -4045,7 +4048,7 @@ Typing SPC flushes the help buffer." (progn (mouse-choose-completion first) (set-window-configuration conf)) - (if (eq first ?\ ) + (if (eq first ?\s) (set-window-configuration conf) (setq unread-command-events (listify-key-sequence key)))))))