Mercurial > emacs
changeset 49177:f47ff7e8f5f5
(picture-substitute): Use command remapping instead of
substitute-key-definition.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Sun, 12 Jan 2003 20:51:36 +0000 |
parents | 56966d83f3a5 |
children | 92ae7e76e5be |
files | lisp/textmodes/picture.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/picture.el Sun Jan 12 20:51:12 2003 +0000 +++ b/lisp/textmodes/picture.el Sun Jan 12 20:51:36 2003 +0000 @@ -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 @@ (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