changeset 4503:b6215383480a

(edit-picture-hook): Use add-hook to modify it.
author Richard M. Stallman <rms@gnu.org>
date Mon, 09 Aug 1993 06:18:02 +0000
parents 747d934e48f0
children 65ef94a9e2c4
files lisp/emulation/tpu-extras.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/emulation/tpu-extras.el	Mon Aug 09 06:17:30 1993 +0000
+++ b/lisp/emulation/tpu-extras.el	Mon Aug 09 06:18:02 1993 +0000
@@ -21,7 +21,7 @@
 ;; along with GNU Emacs; see the file COPYING.  If not, write to
 ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 
-;;; Revision: $Id: tpu-extras.el,v 3.3 1993/08/01 21:38:06 riepel Exp $
+;;; Revision: $Id: tpu-extras.el,v 1.2 1993/08/04 08:19:13 rms Exp rms $
 
 ;;; Commentary:
 
@@ -105,7 +105,7 @@
 
 ;;;  Revision Information
 
-(defconst tpu-extras-revision "$Revision: 3.3 $"
+(defconst tpu-extras-revision "$Revision: 1.2 $"
   "Revision number of the TPU-edt extras.")
 
 
@@ -133,7 +133,7 @@
 ;;;  Hooks  --  Set cursor free in picture mode.
 ;;;             Clean up when writing a file from cursor free mode.
 
-(setq edit-picture-hook 'tpu-set-cursor-free)
+(add-hook 'edit-picture-hook 'tpu-set-cursor-free)
 
 (defun tpu-write-file-hook nil
   "Eliminate whitespace at ends of lines, if the cursor is free."