Commit 26cf3f33 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(array-mode, array-reconfigure-rows, untabify-backward): Fix typos in

docstrings.
(array-reconfigure-rows): Use `insert-buffer-substring', not `insert-buffer'.
parent 635ca796
......@@ -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
......
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