# HG changeset patch # User Richard M. Stallman # Date 718865591 0 # Node ID 17365cdb1c109843f9b501fe8d759bfcb1fcc235 # Parent f6f838c4a26e66ebbfc78444e090e3e05b2d41a8 (edit-picture): Run picture-mode-hook. diff -r f6f838c4a26e -r 17365cdb1c10 lisp/textmodes/picture.el --- 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.")