From 3e2daeaea5476df878a01c97e6bc8c5c3bc596e2 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Fri, 14 Oct 2016 19:01:08 +0200 Subject: [PATCH] Update zone-nyan package --- elpa/zone-nyan-20160928.2303/zone-nyan-pkg.el | 2 -- .../zone-nyan-autoloads.el | 4 ++-- elpa/zone-nyan-20161014.154/zone-nyan-pkg.el | 2 ++ .../zone-nyan.el | 14 ++++++++++---- 4 files changed, 14 insertions(+), 8 deletions(-) delete mode 100644 elpa/zone-nyan-20160928.2303/zone-nyan-pkg.el rename elpa/{zone-nyan-20160928.2303 => zone-nyan-20161014.154}/zone-nyan-autoloads.el (86%) create mode 100644 elpa/zone-nyan-20161014.154/zone-nyan-pkg.el rename elpa/{zone-nyan-20160928.2303 => zone-nyan-20161014.154}/zone-nyan.el (98%) diff --git a/elpa/zone-nyan-20160928.2303/zone-nyan-pkg.el b/elpa/zone-nyan-20160928.2303/zone-nyan-pkg.el deleted file mode 100644 index a939149..0000000 --- a/elpa/zone-nyan-20160928.2303/zone-nyan-pkg.el +++ /dev/null @@ -1,2 +0,0 @@ -;;; -*- no-byte-compile: t -*- -(define-package "zone-nyan" "20160928.2303" "Zone out with nyan cat" '((esxml "0.3.1")) :url "https://github.com/wasamasa/zone-nyan" :keywords '("zone")) diff --git a/elpa/zone-nyan-20160928.2303/zone-nyan-autoloads.el b/elpa/zone-nyan-20161014.154/zone-nyan-autoloads.el similarity index 86% rename from elpa/zone-nyan-20160928.2303/zone-nyan-autoloads.el rename to elpa/zone-nyan-20161014.154/zone-nyan-autoloads.el index b4eced7..d3db042 100644 --- a/elpa/zone-nyan-20160928.2303/zone-nyan-autoloads.el +++ b/elpa/zone-nyan-20161014.154/zone-nyan-autoloads.el @@ -3,8 +3,8 @@ ;;; Code: (add-to-list 'load-path (directory-file-name (or (file-name-directory #$) (car load-path)))) -;;;### (autoloads nil "zone-nyan" "zone-nyan.el" (22514 17651 220674 -;;;;;; 148000)) +;;;### (autoloads nil "zone-nyan" "zone-nyan.el" (22529 3780 596675 +;;;;;; 963000)) ;;; Generated autoloads from zone-nyan.el (autoload 'zone-nyan "zone-nyan" "\ diff --git a/elpa/zone-nyan-20161014.154/zone-nyan-pkg.el b/elpa/zone-nyan-20161014.154/zone-nyan-pkg.el new file mode 100644 index 0000000..712a2e0 --- /dev/null +++ b/elpa/zone-nyan-20161014.154/zone-nyan-pkg.el @@ -0,0 +1,2 @@ +;;; -*- no-byte-compile: t -*- +(define-package "zone-nyan" "20161014.154" "Zone out with nyan cat" '((esxml "0.3.1")) :url "https://github.com/wasamasa/zone-nyan" :keywords '("zone")) diff --git a/elpa/zone-nyan-20160928.2303/zone-nyan.el b/elpa/zone-nyan-20161014.154/zone-nyan.el similarity index 98% rename from elpa/zone-nyan-20160928.2303/zone-nyan.el rename to elpa/zone-nyan-20161014.154/zone-nyan.el index 55d490f..b54331d 100644 --- a/elpa/zone-nyan-20160928.2303/zone-nyan.el +++ b/elpa/zone-nyan-20161014.154/zone-nyan.el @@ -4,7 +4,7 @@ ;; Author: Vasilij Schneidermann ;; URL: https://github.com/wasamasa/zone-nyan -;; Package-Version: 20160928.2303 +;; Package-Version: 20161014.154 ;; Version: 0.2.2 ;; Package-Requires: ((esxml "0.3.1")) ;; Keywords: zone @@ -744,13 +744,17 @@ It fires every 100ms.") (defvar zone-nyan-progress 0 "Holds the current progress of the timer.") +(defun zone-nyan-report-progress () + "Report current nyan progress." + (message "You've nyaned for %.1f seconds" + (/ zone-nyan-progress 10.0))) + (defun zone-nyan-progress () "Progress function. It informs the user just how many seconds they've wasted on watching nyan cat run." (unless zone-nyan-hide-progress - (message "You've nyaned for %.1f seconds" - (/ zone-nyan-progress 10.0))) + (zone-nyan-report-progress)) (setq zone-nyan-progress (1+ zone-nyan-progress))) ;;;###autoload @@ -785,7 +789,9 @@ watching nyan cat run." (when zone-nyan-bg-music-process (delete-process zone-nyan-bg-music-process)) (when zone-nyan-progress-timer - (cancel-timer zone-nyan-progress-timer))))) + (cancel-timer zone-nyan-progress-timer) + (when zone-nyan-hide-progress + (zone-nyan-report-progress)))))) ;;;###autoload (defun zone-nyan-preview ()