+2012-02-21 Glenn Morris <rgm@gnu.org>
+
+ * textmodes/picture.el (picture-delete-char): Newalias.
+ (picture-mode-map): Use it. (Bug#10860)
+ (picture-mode): Doc fix.
+
2012-02-21 Juanma Barranquero <lekktu@gmail.com>
* newcomment.el (uncomment-region-default): Remove unused binding.
\f
;; Picture Keymap, entry and exit points.
+(defalias 'picture-delete-char 'delete-char)
+
(defvar picture-mode-map nil)
(defun picture-substitute (oldfun newfun)
(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)
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)