diff options
author | Karl Heuer <kwzh@gnu.org> | 1994-03-10 23:57:21 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1994-03-10 23:57:21 +0000 |
commit | 6b732b0437eeb2b78995dd240c569fc7d3722ef0 (patch) | |
tree | 25797979743a7ef550c42fa552e2963d73e25ba3 /lisp/textmodes | |
parent | 8c17fc88a46785dea5b096bde37cc6a380bf07f6 (diff) | |
download | emacs-6b732b0437eeb2b78995dd240c569fc7d3722ef0.tar.gz |
Add a comment to document the reason for the change in outline-level.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r-- | lisp/textmodes/ooutline.el | 5 |
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." "Function of no args to compute a header's nesting level in an outline. It can assume point is at the beginning of a header line.") +;; This used to count columns rather than characters, but that made ^L +;; appear to be at level 2 instead of 1. Columns would be better for +;; tab handling, but the default regexp doesn't use tabs, and anyone +;; who changes the regexp can also redefine the outline-level variable +;; as appropriate. (defun outline-level () "Return the depth to which a statement is nested in the outline. Point must be at the beginning of a header line. This is actually |