update documentation
[spray] / spray.el
index 7dbd65a583e8ae361729e6e03d2b3cafa2419eee..c0d78085f2b36b214ec45e92481e1e3eda92189f 100644 (file)
--- a/spray.el
+++ b/spray.el
@@ -247,11 +247,11 @@ decreasing by one for each subsequent word."
          (len (+ (skip-chars-forward "^\s\t\nā€”") (skip-chars-forward "ā€”")))
          (end (point))
          (accent (+ beg (cl-case len
-                       ((1) 1)
-                       ((2 3 4 5) 2)
-                       ((6 7 8 9) 3)
-                       ((10 11 12 13) 4)
-                       (t 5)))))
+                          ((1) 1)
+                          ((2 3 4 5) 2)
+                          ((6 7 8 9) 3)
+                          ((10 11 12 13) 4)
+                          (t 5)))))
     ;; this fairly obfuscated, using magic numbers to store state
     ;; it would be nice to sometime patch this so it is more readable.
     ;; for greater than 9 length, we display for twice as long
@@ -274,9 +274,7 @@ decreasing by one for each subsequent word."
   (cond ((not (zerop spray--initial-delay))
          (setq spray--initial-delay (1- spray--initial-delay)))
         ((not (zerop spray--delay))
-         (setq spray--delay (1- spray--delay))
-         (when (= spray--delay 2)
-           (narrow-to-region (point) (point))))
+         (setq spray--delay (1- spray--delay)))
         (t
          (widen)
          (if (eobp)