emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/focus 663205443c 21/82: Forgot to rename variables everywh


From: ELPA Syncer
Subject: [nongnu] elpa/focus 663205443c 21/82: Forgot to rename variables everywhere
Date: Tue, 6 Sep 2022 04:58:55 -0400 (EDT)

branch: elpa/focus
commit 663205443c376ac553df3d1e0837ba35bd5a27d7
Author: Lars Tveito <larstvei@ifi.uio.no>
Commit: Lars Tveito <larstvei@ifi.uio.no>

    Forgot to rename variables everywhere
---
 focus.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/focus.el b/focus.el
index 5638e39149..20d34aa69f 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]