Mercurial > emacs
changeset 64429:dd1d759e63db
(array-mode, array-reconfigure-rows, untabify-backward): Fix typos in
docstrings.
(array-reconfigure-rows): Use `insert-buffer-substring', not `insert-buffer'.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Mon, 18 Jul 2005 09:35:43 +0000 |
parents | e55dd693f95b |
children | 52b011251c32 |
files | lisp/array.el |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/array.el Mon Jul 18 09:03:05 2005 +0000 +++ b/lisp/array.el Mon Jul 18 09:35:43 2005 +0000 @@ -638,7 +638,7 @@ "Reconfigure the state of `array-rows-numbered' and `array-columns-per-line'. NEW-COLUMNS-PER-LINE is the desired value of `array-columns-per-line' and NEW-ROWS-NUMBERED (a character, either ?y or ?n) is the desired value -of array-rows-numbered." +of `array-rows-numbered'." (interactive "nColumns per line: \ncRows numbered? (y or n) ") ;; Check on new-columns-per-line (let ((check t)) @@ -717,7 +717,7 @@ (let ((inhibit-quit t)) (set-buffer main-buffer) (erase-buffer) - (insert-buffer temp-buffer) + (insert-buffer-substring temp-buffer) ;; Update local variables. (setq array-columns-per-line new-columns-per-line) (setq array-rows-numbered new-rows-numbered) @@ -767,7 +767,7 @@ (move-to-column column))))) (defun untabify-backward () - "Untabify the preceding tab." + "Untabify the preceding TAB." (save-excursion (let ((start (point))) (backward-char 1) @@ -817,7 +817,7 @@ The array MUST reside at the top of the buffer. TABs are not respected, and may be converted into spaces at any time. -Setting the variable 'array-respect-tabs to non-nil will prevent TAB conversion, +Setting the variable `array-respect-tabs' to non-nil will prevent TAB conversion, but will cause many functions to give errors if they encounter one. Upon entering array mode, you will be prompted for the values of