aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2001-06-22 11:49:18 +0000
committerEli Zaretskii2001-06-22 11:49:18 +0000
commit1fd63d9b9bc249488ec12a49cc3a576baf8c788a (patch)
tree086e4d973ab5e187a1df47e8224a9eefa723bc8d
parent3b01b911c4b63d903303fbdbe3c04eb1fd6cb228 (diff)
downloademacs-1fd63d9b9bc249488ec12a49cc3a576baf8c788a.tar.gz
emacs-1fd63d9b9bc249488ec12a49cc3a576baf8c788a.zip
(indent-relative-maybe, indent-relative): Doc fix.
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/indent.el12
2 files changed, 12 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 450f5b28298..9ff4682c231 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,7 @@
12001-06-22 Eli Zaretskii <eliz@is.elta.co.il> 12001-06-22 Eli Zaretskii <eliz@is.elta.co.il>
2 2
3 * indent.el (indent-relative-maybe, indent-relative): Doc fix.
4
3 * menu-bar.el (toggle-debug-on-quit, toggle-debug-on-error): Doc 5 * menu-bar.el (toggle-debug-on-quit, toggle-debug-on-error): Doc
4 fix. 6 fix.
5 7
diff --git a/lisp/indent.el b/lisp/indent.el
index a558ff26d5b..d097a02c833 100644
--- a/lisp/indent.el
+++ b/lisp/indent.el
@@ -345,7 +345,11 @@ If COLUMN is nil, then indent each line according to the mode."
345 (move-marker end nil)))) 345 (move-marker end nil))))
346 346
347(defun indent-relative-maybe () 347(defun indent-relative-maybe ()
348 "Indent a new line like previous nonblank line." 348 "Indent a new line like previous nonblank line.
349If the previous nonblank line has no indent points beyond the
350column point starts at, this command does nothing.
351
352See also `indent-relative'."
349 (interactive) 353 (interactive)
350 (indent-relative t)) 354 (indent-relative t))
351 355
@@ -355,7 +359,11 @@ An indent point is a non-whitespace character following whitespace.
355The following line shows the indentation points in this line. 359The following line shows the indentation points in this line.
356 ^ ^ ^ ^ ^ ^ ^ ^ ^ 360 ^ ^ ^ ^ ^ ^ ^ ^ ^
357If the previous nonblank line has no indent points beyond the 361If the previous nonblank line has no indent points beyond the
358column point starts at, `tab-to-tab-stop' is done instead." 362column point starts at, `tab-to-tab-stop' is done instead, unless
363this command is invoked with a numeric argument, in which case it
364does nothing.
365
366See also `indent-relative-maybe'."
359 (interactive "P") 367 (interactive "P")
360 (if (and abbrev-mode 368 (if (and abbrev-mode
361 (eq (char-syntax (preceding-char)) ?w)) 369 (eq (char-syntax (preceding-char)) ?w))