Commit 5f8dc2ca authored by Glenn Morris's avatar Glenn Morris
Browse files

Fix picture-mode C-c C-d binding

* lisp/textmodes/picture.el (picture-delete-char): Newalias.
(picture-mode-map): Use it. 
(picture-mode): Doc fix.
* admin/FOR-RELEASE: Related markup.

Fixes: debbugs:10860
parent 3fe58f4f
......@@ -159,7 +159,7 @@ msdog-xtra.texi
m-x.texi cyd
package.texi cyd
picture-xtra.texi rgm (see bug#10860)
picture-xtra.texi rgm
programs.texi cyd
regs.texi cyd
rmail.texi rgm
2012-02-21 Glenn Morris <>
* textmodes/picture.el (picture-delete-char): Newalias.
(picture-mode-map): Use it. (Bug#10860)
(picture-mode): Doc fix.
2012-02-21 Juanma Barranquero <>
* newcomment.el (uncomment-region-default): Remove unused binding.
......@@ -604,6 +604,8 @@ Leaves the region surrounding the rectangle."
;; Picture Keymap, entry and exit points.
(defalias 'picture-delete-char 'delete-char)
(defvar picture-mode-map nil)
(defun picture-substitute (oldfun newfun)
......@@ -633,7 +635,7 @@ Leaves the region surrounding the rectangle."
(picture-substitute 'move-end-of-line 'picture-end-of-line)
(picture-substitute 'mouse-set-point 'picture-mouse-set-point)
(define-key picture-mode-map "\C-c\C-d" 'delete-char)
(define-key picture-mode-map "\C-c\C-d" 'picture-delete-char)
(define-key picture-mode-map "\e\t" 'picture-toggle-tab-state)
(define-key picture-mode-map "\t" 'picture-tab)
(define-key picture-mode-map "\e\t" 'picture-tab-search)
......@@ -722,7 +724,7 @@ You can edit tabular text with these commands:
You can manipulate text with these commands:
Clear ARG columns after point without moving: \\[picture-clear-column]
Delete char at point: \\[delete-char]
Delete char at point: \\[picture-delete-char]
Clear ARG columns backward: \\[picture-backward-clear-column]
Clear ARG lines, advancing over them: \\[picture-clear-line]
(the cleared text is saved in the kill ring)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment