Mercurial > emacs
changeset 6299:d0a9fa0d0a8d
Add a comment to document the reason for the change in outline-level.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 10 Mar 1994 23:57:21 +0000 |
parents | 4f65581e0972 |
children | 0aa51282fbfe |
files | lisp/textmodes/ooutline.el |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/ooutline.el Thu Mar 10 23:49:00 1994 +0000 +++ b/lisp/textmodes/ooutline.el Thu Mar 10 23:57:21 1994 +0000 @@ -227,6 +227,11 @@ "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