aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-03-10 23:57:21 +0000
committerKarl Heuer1994-03-10 23:57:21 +0000
commit6483e43f349b10e370a796bbee8b9d9de82c32f7 (patch)
tree9b19ee24c3cee250849727d291eaaacad172356b
parenteb6692ed468ecc811b587ea42015499ce27cf550 (diff)
downloademacs-6483e43f349b10e370a796bbee8b9d9de82c32f7.tar.gz
emacs-6483e43f349b10e370a796bbee8b9d9de82c32f7.zip
Add a comment to document the reason for the change in outline-level.
-rw-r--r--lisp/textmodes/ooutline.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/textmodes/ooutline.el b/lisp/textmodes/ooutline.el
index 1f86c51b6e3..88d4c595ecc 100644
--- a/lisp/textmodes/ooutline.el
+++ b/lisp/textmodes/ooutline.el
@@ -227,6 +227,11 @@ See the command `outline-mode' for more information on this mode."
227 "Function of no args to compute a header's nesting level in an outline. 227 "Function of no args to compute a header's nesting level in an outline.
228It can assume point is at the beginning of a header line.") 228It can assume point is at the beginning of a header line.")
229 229
230;; This used to count columns rather than characters, but that made ^L
231;; appear to be at level 2 instead of 1. Columns would be better for
232;; tab handling, but the default regexp doesn't use tabs, and anyone
233;; who changes the regexp can also redefine the outline-level variable
234;; as appropriate.
230(defun outline-level () 235(defun outline-level ()
231 "Return the depth to which a statement is nested in the outline. 236 "Return the depth to which a statement is nested in the outline.
232Point must be at the beginning of a header line. This is actually 237Point must be at the beginning of a header line. This is actually