1. Ivan Andrus
  2. whizzy-tikz


Ivan Andrus  committed 13ba059

Make sure whizzy-narrow-to-tikz returns non-nil if narrowed at all

  • Participants
  • Parent commits 204c96e
  • Branches default

Comments (0)

Files changed (1)

File whizzy-tikz.el

View file
  • Ignore whitespace
       (let* ((b1 (save-excursion
                    (when (search-backward ";" nil t)
-                       (forward-char 1))
+                     (forward-char 1))
              (e1 (save-excursion
                      ;; Not guaranteed to work since might have
                      ;; semicolon in node name etc.
-        (narrow-to-region b1 e2)))))
+        (narrow-to-region b1 e2))
+      t)))
 (defun whizzy-tikz-strip-trailing-zeros (string)
   "Return STRING stripped of trailing zeros and periods."