From 26cf3f33ecab13d7f870bc7a63444a43444eb3be Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 18 Jul 2005 09:35:43 +0000 Subject: [PATCH] (array-mode, array-reconfigure-rows, untabify-backward): Fix typos in docstrings. (array-reconfigure-rows): Use `insert-buffer-substring', not `insert-buffer'. --- lisp/array.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/array.el b/lisp/array.el index 836ba99ff6d..819840c8a1a 100644 --- a/lisp/array.el +++ b/lisp/array.el @@ -638,7 +638,7 @@ If optional ARG is given, copy through ARG rows up." "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 @@ of array-rows-numbered." (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 @@ Return COLUMN." (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 @@ NOT recognized as integers or real numbers. 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 -- 2.39.2