62ff15391263

Typos and outline.
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sat, 31 Dec 2011 13:26:22 -0500
parents 121fb4ea289b
children 4ba338c385b3
branches/tags (none)
files chapters/49.markdown outline.org

Changes

--- a/chapters/49.markdown	Fri Dec 16 21:39:36 2011 -0500
+++ b/chapters/49.markdown	Sat Dec 31 13:26:22 2011 -0500
@@ -587,7 +587,7 @@
 "special" foldlevels.  It tells Vim that the current line should *open* a fold
 of the given level.
 
-In this simple example we could have simply returned the number, but we'll see
+In this simple example we could have just returned the number, but we'll see
 why this is important shortly.
 
 In this case line "b" will open a fold at level 1, which makes our example look
@@ -627,7 +627,7 @@
         factorial (i) string print
         "\n" print.
 
-First, set any blank lines' foldlevels will be set to undefined:
+First, any blank lines' foldlevels will be set to undefined:
 
     :::text
     factorial = (n):
@@ -754,5 +754,8 @@
 the number in our folding function.  What would happen if you used `+` instead?
 Why?
 
+We defined our helper functions as global functions, but that's not a good idea.
+Change them to be script-local functions.
+
 Put this book down and go outside for a while to let your brain recover from
 this chapter.
--- a/outline.org	Fri Dec 16 21:39:36 2011 -0500
+++ b/outline.org	Sat Dec 31 13:26:22 2011 -0500
@@ -48,14 +48,14 @@
 ** DONE pathogen
 ** DONE ftdetect
 ** DONE syntax
-** TODO folding
-** TODO autoload
+** DONE folding
 ** TODO compilers
 *** makeprg
 *** errorformat
+** TODO autoload
 ** TODO customization
-** TODO documentation
+** TODO dynamic status lines
 ** TODO mapping
-** TODO dynamic status lines
 ** TODO customizing maps
+** TODO documentation
 ** TODO distributing