aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-08-09 06:18:02 +0000
committerRichard M. Stallman1993-08-09 06:18:02 +0000
commit0db70aa270d5caf38da1653d7fa9527e73e2d7c0 (patch)
treef8b89f795cd0d3bb1bf63949b408a802c559b1f0
parent2c5725d29c46fe013c4f5ce7d8ccfc4728d692cc (diff)
downloademacs-0db70aa270d5caf38da1653d7fa9527e73e2d7c0.tar.gz
emacs-0db70aa270d5caf38da1653d7fa9527e73e2d7c0.zip
(edit-picture-hook): Use add-hook to modify it.
-rw-r--r--lisp/emulation/tpu-extras.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/emulation/tpu-extras.el b/lisp/emulation/tpu-extras.el
index fae4e9feccd..22fb46a2d07 100644
--- a/lisp/emulation/tpu-extras.el
+++ b/lisp/emulation/tpu-extras.el
@@ -21,7 +21,7 @@
21;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
23 23
24;;; Revision: $Id: tpu-extras.el,v 3.3 1993/08/01 21:38:06 riepel Exp $ 24;;; Revision: $Id: tpu-extras.el,v 1.2 1993/08/04 08:19:13 rms Exp rms $
25 25
26;;; Commentary: 26;;; Commentary:
27 27
@@ -105,7 +105,7 @@
105 105
106;;; Revision Information 106;;; Revision Information
107 107
108(defconst tpu-extras-revision "$Revision: 3.3 $" 108(defconst tpu-extras-revision "$Revision: 1.2 $"
109 "Revision number of the TPU-edt extras.") 109 "Revision number of the TPU-edt extras.")
110 110
111 111
@@ -133,7 +133,7 @@ the previous line when starting from a line beginning.")
133;;; Hooks -- Set cursor free in picture mode. 133;;; Hooks -- Set cursor free in picture mode.
134;;; Clean up when writing a file from cursor free mode. 134;;; Clean up when writing a file from cursor free mode.
135 135
136(setq edit-picture-hook 'tpu-set-cursor-free) 136(add-hook 'edit-picture-hook 'tpu-set-cursor-free)
137 137
138(defun tpu-write-file-hook nil 138(defun tpu-write-file-hook nil
139 "Eliminate whitespace at ends of lines, if the cursor is free." 139 "Eliminate whitespace at ends of lines, if the cursor is free."