aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2001-12-02 07:06:43 +0000
committerStefan Monnier2001-12-02 07:06:43 +0000
commit2137e978c380130b31a3afff65b744fa479baee0 (patch)
tree835e55c87d9538606f0cb8caea5d407cd24f77cf
parent656f46bbb446f0a6280d91b1a4badb59d66a8a82 (diff)
downloademacs-2137e978c380130b31a3afff65b744fa479baee0.tar.gz
emacs-2137e978c380130b31a3afff65b744fa479baee0.zip
(picture-mode-map): Don't use defconst for a variable.
-rw-r--r--lisp/textmodes/picture.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el
index 7e36fc58ec3..dc47a89dedb 100644
--- a/lisp/textmodes/picture.el
+++ b/lisp/textmodes/picture.el
@@ -573,7 +573,7 @@ Leaves the region surrounding the rectangle."
573 573
574;; Picture Keymap, entry and exit points. 574;; Picture Keymap, entry and exit points.
575 575
576(defconst picture-mode-map nil) 576(defvar picture-mode-map nil)
577 577
578(defun picture-substitute (oldfun newfun) 578(defun picture-substitute (oldfun newfun)
579 (substitute-key-definition oldfun newfun picture-mode-map global-map)) 579 (substitute-key-definition oldfun newfun picture-mode-map global-map))
@@ -724,7 +724,7 @@ they are not defaultly assigned to keys."
724(defalias 'edit-picture 'picture-mode) 724(defalias 'edit-picture 'picture-mode)
725 725
726(defun picture-mode-exit (&optional nostrip) 726(defun picture-mode-exit (&optional nostrip)
727 "Undo picture-mode and return to previous major mode. 727 "Undo `picture-mode' and return to previous major mode.
728With no argument strips whitespace from end of every line in Picture buffer 728With no argument strips whitespace from end of every line in Picture buffer
729 otherwise just return to previous mode." 729 otherwise just return to previous mode."
730 (interactive "P") 730 (interactive "P")