changeset 1396:17365cdb1c10

(edit-picture): Run picture-mode-hook.
author Richard M. Stallman <rms@gnu.org>
date Mon, 12 Oct 1992 04:53:11 +0000
parents f6f838c4a26e
children d469afe703c4
files lisp/textmodes/picture.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/picture.el	Mon Oct 12 04:45:53 1992 +0000
+++ b/lisp/textmodes/picture.el	Mon Oct 12 04:53:11 1992 +0000
@@ -533,7 +533,8 @@
     (make-local-variable 'picture-vertical-step)
     (make-local-variable 'picture-horizontal-step)
     (picture-set-motion 0 1)
-    (run-hooks 'edit-picture-hook)
+    ;; edit-picture-hook is what we used to run, picture-mode-hook is in doc.
+    (run-hooks 'edit-picture-hook 'picture-mode-hook)
     (message
      (substitute-command-keys
       "Type \\[picture-mode-exit] in this buffer to return it to %s mode.")