From 663205443c376ac553df3d1e0837ba35bd5a27d7 Mon Sep 17 00:00:00 2001 From: Lars Tveito Date: Sun, 17 May 2015 01:31:44 +0200 Subject: [PATCH] Forgot to rename variables everywhere --- focus.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/focus.el b/focus.el index 5638e39..20d34aa 100644 --- a/focus.el +++ b/focus.el @@ -73,11 +73,11 @@ first NON-NIL value from applying F to an element in LST." (if v v (focus-any f (cdr lst)))))) (defun focus-bounds () - "Returns the bounds of the first thing in `focus-things-order' that + "Returns the bounds of the first thing in `focus-mode-to-thing' that is NON-NIL." - (let* ((modes (mapcar 'car focus-things-order)) + (let* ((modes (mapcar 'car focus-mode-to-thing)) (mode (focus-any 'derived-mode-p modes)) - (thing (if mode (cdr (assoc mode focus-things-order)) 'sentence))) + (thing (if mode (cdr (assoc mode focus-mode-to-thing)) 'sentence))) (bounds-of-thing-at-point thing))) (defun focus-average-colors (color &rest colors)