diff options
author | Andreas Schwab <schwab@suse.de> | 2003-01-12 20:51:36 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2003-01-12 20:51:36 +0000 |
commit | e70cccc0c8884cb28f14a3e9bdd442f22f3959e5 (patch) | |
tree | a0f321284641eb008b2a428f909b6d38962ef468 /lisp/textmodes/picture.el | |
parent | 5d1825c6fbb5e1be263bd79eea109bdc097fc8df (diff) | |
download | emacs-e70cccc0c8884cb28f14a3e9bdd442f22f3959e5.tar.gz |
(picture-substitute): Use command remapping instead of
substitute-key-definition.
Diffstat (limited to 'lisp/textmodes/picture.el')
-rw-r--r-- | lisp/textmodes/picture.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el index 031341e75e0..08357632177 100644 --- a/lisp/textmodes/picture.el +++ b/lisp/textmodes/picture.el @@ -1,6 +1,6 @@ ;;; picture.el --- "Picture mode" -- editing using quarter-plane screen model -;; Copyright (C) 1985, 1994, 2002 Free Software Foundation, Inc. +;; Copyright (C) 1985, 1994, 2002, 2003 Free Software Foundation, Inc. ;; Author: K. Shane Hartman ;; Maintainer: FSF @@ -590,7 +590,7 @@ Leaves the region surrounding the rectangle." (defvar picture-mode-map nil) (defun picture-substitute (oldfun newfun) - (substitute-key-definition oldfun newfun picture-mode-map global-map)) + (define-key picture-mode-map (vector 'remap oldfun) newfun)) (if (not picture-mode-map) (progn |