diff options
| author | Glenn Morris | 2012-02-21 09:09:19 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-02-21 09:09:19 -0800 |
| commit | 5f8dc2cad61ead89f6623b30bef22a4deed30e81 (patch) | |
| tree | 13d92c702c0e5de524de08352f968a4672783be5 | |
| parent | 3fe58f4f9ce7c49006b8e5305711ab6a90215091 (diff) | |
| download | emacs-5f8dc2cad61ead89f6623b30bef22a4deed30e81.tar.gz emacs-5f8dc2cad61ead89f6623b30bef22a4deed30e81.zip | |
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
| -rw-r--r-- | admin/FOR-RELEASE | 2 | ||||
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/textmodes/picture.el | 6 |
3 files changed, 11 insertions, 3 deletions
diff --git a/admin/FOR-RELEASE b/admin/FOR-RELEASE index 7ad484a535e..f34903bb8b3 100644 --- a/admin/FOR-RELEASE +++ b/admin/FOR-RELEASE | |||
| @@ -159,7 +159,7 @@ msdog-xtra.texi | |||
| 159 | mule.texi | 159 | mule.texi |
| 160 | m-x.texi cyd | 160 | m-x.texi cyd |
| 161 | package.texi cyd | 161 | package.texi cyd |
| 162 | picture-xtra.texi rgm (see bug#10860) | 162 | picture-xtra.texi rgm |
| 163 | programs.texi cyd | 163 | programs.texi cyd |
| 164 | regs.texi cyd | 164 | regs.texi cyd |
| 165 | rmail.texi rgm | 165 | rmail.texi rgm |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index af4d233e2d6..a8ab7162618 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2012-02-21 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * textmodes/picture.el (picture-delete-char): Newalias. | ||
| 4 | (picture-mode-map): Use it. (Bug#10860) | ||
| 5 | (picture-mode): Doc fix. | ||
| 6 | |||
| 1 | 2012-02-21 Juanma Barranquero <lekktu@gmail.com> | 7 | 2012-02-21 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 8 | ||
| 3 | * newcomment.el (uncomment-region-default): Remove unused binding. | 9 | * newcomment.el (uncomment-region-default): Remove unused binding. |
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el index 911defd8dba..9e8cbb216d1 100644 --- a/lisp/textmodes/picture.el +++ b/lisp/textmodes/picture.el | |||
| @@ -604,6 +604,8 @@ Leaves the region surrounding the rectangle." | |||
| 604 | 604 | ||
| 605 | ;; Picture Keymap, entry and exit points. | 605 | ;; Picture Keymap, entry and exit points. |
| 606 | 606 | ||
| 607 | (defalias 'picture-delete-char 'delete-char) | ||
| 608 | |||
| 607 | (defvar picture-mode-map nil) | 609 | (defvar picture-mode-map nil) |
| 608 | 610 | ||
| 609 | (defun picture-substitute (oldfun newfun) | 611 | (defun picture-substitute (oldfun newfun) |
| @@ -633,7 +635,7 @@ Leaves the region surrounding the rectangle." | |||
| 633 | (picture-substitute 'move-end-of-line 'picture-end-of-line) | 635 | (picture-substitute 'move-end-of-line 'picture-end-of-line) |
| 634 | (picture-substitute 'mouse-set-point 'picture-mouse-set-point) | 636 | (picture-substitute 'mouse-set-point 'picture-mouse-set-point) |
| 635 | 637 | ||
| 636 | (define-key picture-mode-map "\C-c\C-d" 'delete-char) | 638 | (define-key picture-mode-map "\C-c\C-d" 'picture-delete-char) |
| 637 | (define-key picture-mode-map "\e\t" 'picture-toggle-tab-state) | 639 | (define-key picture-mode-map "\e\t" 'picture-toggle-tab-state) |
| 638 | (define-key picture-mode-map "\t" 'picture-tab) | 640 | (define-key picture-mode-map "\t" 'picture-tab) |
| 639 | (define-key picture-mode-map "\e\t" 'picture-tab-search) | 641 | (define-key picture-mode-map "\e\t" 'picture-tab-search) |
| @@ -722,7 +724,7 @@ You can edit tabular text with these commands: | |||
| 722 | 724 | ||
| 723 | You can manipulate text with these commands: | 725 | You can manipulate text with these commands: |
| 724 | Clear ARG columns after point without moving: \\[picture-clear-column] | 726 | Clear ARG columns after point without moving: \\[picture-clear-column] |
| 725 | Delete char at point: \\[delete-char] | 727 | Delete char at point: \\[picture-delete-char] |
| 726 | Clear ARG columns backward: \\[picture-backward-clear-column] | 728 | Clear ARG columns backward: \\[picture-backward-clear-column] |
| 727 | Clear ARG lines, advancing over them: \\[picture-clear-line] | 729 | Clear ARG lines, advancing over them: \\[picture-clear-line] |
| 728 | (the cleared text is saved in the kill ring) | 730 | (the cleared text is saved in the kill ring) |