branch: elpa/pacmacs
commit 701da0f16cb26d05c9e987922eb35a85a76a5c9b
Author: rexim <[email protected]>
Commit: rexim <[email protected]>

    Rename direction switching callbacks (#153)
---
 pacmacs.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/pacmacs.el b/pacmacs.el
index abf54caddf..4b76326ac3 100644
--- a/pacmacs.el
+++ b/pacmacs.el
@@ -144,7 +144,7 @@
 (defun pacmacs--make-big-pill (row column)
   (pacmacs--make-pill row column "Big-Pill" 50))
 
-(defun pacmacs--switch-direction-animation (animation-prefix)
+(defun pacmacs--switch-direction-animation-callback (animation-prefix)
   (let ((direction-animations (-mapcat
                                (-lambda (direction)
                                  (->> direction
@@ -168,7 +168,7 @@
         :prev-column column
         :direction 'right
         :current-animation (pacmacs-load-anim "Red-Ghost-Right")
-        :switch-direction-callback (pacmacs--switch-direction-animation 
"Red-Ghost")
+        :switch-direction-callback 
(pacmacs--switch-direction-animation-callback "Red-Ghost")
         :speed 1
         :speed-counter 0
         :type 'ghost))
@@ -182,7 +182,7 @@
         :prev-column column
         :direction 'right
         :current-animation (pacmacs-load-anim "Pacman-Chomping-Right")
-        :switch-direction-callback (pacmacs--switch-direction-animation 
"Pacman-Chomping")
+        :switch-direction-callback 
(pacmacs--switch-direction-animation-callback "Pacman-Chomping")
         :speed 0
         :speed-counter 0
         :type 'player))

Reply via email to