From 393bc458e15e0240a0989fedebcbb140d4be13c7 Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Sun, 26 Nov 2023 17:02:42 +0100 Subject: [PATCH] update keyfreq Signed-off-by: Andreas Gerler --- bba.org | 2 +- .../keyfreq-autoloads.el | 43 +++++++++---------- .../keyfreq-pkg.el | 4 +- .../keyfreq.el | 4 +- 4 files changed, 25 insertions(+), 28 deletions(-) rename elpa/{keyfreq-20220607.1613 => keyfreq-20231107.106}/keyfreq-autoloads.el (78%) rename elpa/{keyfreq-20220607.1613 => keyfreq-20231107.106}/keyfreq-pkg.el (62%) rename elpa/{keyfreq-20220607.1613 => keyfreq-20231107.106}/keyfreq.el (99%) diff --git a/bba.org b/bba.org index d5d9a514..8557f2a7 100644 --- a/bba.org +++ b/bba.org @@ -2430,7 +2430,7 @@ switch default browser between eww and default. [2016-11-23 Wed 13:33] #+BEGIN_SRC emacs-lisp - (add-to-list 'load-path "~/.emacs.d/elpa/keyfreq-20160516.1416") + (add-to-list 'load-path "~/.emacs.d/elpa/keyfreq-20231107.106") (require 'keyfreq) (keyfreq-mode 1) (keyfreq-autosave-mode 1) diff --git a/elpa/keyfreq-20220607.1613/keyfreq-autoloads.el b/elpa/keyfreq-20231107.106/keyfreq-autoloads.el similarity index 78% rename from elpa/keyfreq-20220607.1613/keyfreq-autoloads.el rename to elpa/keyfreq-20231107.106/keyfreq-autoloads.el index a36e4c08..07ded8e2 100644 --- a/elpa/keyfreq-20220607.1613/keyfreq-autoloads.el +++ b/elpa/keyfreq-20231107.106/keyfreq-autoloads.el @@ -1,12 +1,14 @@ -;;; keyfreq-autoloads.el --- automatically extracted autoloads -*- lexical-binding: t -*- -;; +;;; keyfreq-autoloads.el --- automatically extracted autoloads (do not edit) -*- lexical-binding: t -*- +;; Generated by the `loaddefs-generate' function. + +;; This file is part of GNU Emacs. + ;;; Code: -(add-to-list 'load-path (directory-file-name - (or (file-name-directory #$) (car load-path)))) +(add-to-list 'load-path (or (and load-file-name (directory-file-name (file-name-directory load-file-name))) (car load-path))) + -;;;### (autoloads nil "keyfreq" "keyfreq.el" (0 0 0 0)) ;;; Generated autoloads from keyfreq.el (defvar keyfreq-mode nil "\ @@ -16,15 +18,14 @@ for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node `Easy Customization') or call the function `keyfreq-mode'.") - (custom-autoload 'keyfreq-mode "keyfreq" nil) - (autoload 'keyfreq-mode "keyfreq" "\ Keyfreq mode records number of times each command was + called making it possible to access usage statistics through various keyfreq-* functions. -This is a minor mode. If called interactively, toggle the +This is a global minor mode. If called interactively, toggle the `Keyfreq mode' mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode. @@ -38,8 +39,7 @@ evaluate `(default-value \\='keyfreq-mode)'. The mode's hook is called both when the mode is enabled and when it is disabled. -\(fn &optional ARG)" t nil) - +(fn &optional ARG)" t) (defvar keyfreq-autosave-mode nil "\ Non-nil if Keyfreq-Autosave mode is enabled. See the `keyfreq-autosave-mode' command @@ -47,15 +47,14 @@ for a description of this minor mode. Setting this variable directly does not take effect; either customize it (see the info node `Easy Customization') or call the function `keyfreq-autosave-mode'.") - (custom-autoload 'keyfreq-autosave-mode "keyfreq" nil) - (autoload 'keyfreq-autosave-mode "keyfreq" "\ Keyfreq Autosave mode automatically saves + `keyfreq-table' every `keyfreq-autosave-timeout' seconds and when emacs is killed. -This is a minor mode. If called interactively, toggle the +This is a global minor mode. If called interactively, toggle the `Keyfreq-Autosave mode' mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode. @@ -70,23 +69,21 @@ evaluate `(default-value \\='keyfreq-autosave-mode)'. The mode's hook is called both when the mode is enabled and when it is disabled. -\(fn &optional ARG)" t nil) - +(fn &optional ARG)" t) (autoload 'keyfreq-save-now "keyfreq" "\ -Save keyfreq data now." t nil) - +Save keyfreq data now." t) (register-definition-prefixes "keyfreq" '("keyfreq-")) - -;;;*** -;;;### (autoloads nil nil ("keyfreq-pkg.el") (0 0 0 0)) +;;; End of scraped data + +(provide 'keyfreq-autoloads) -;;;*** - ;; Local Variables: ;; version-control: never ;; no-byte-compile: t ;; no-update-autoloads: t -;; coding: utf-8 +;; no-native-compile: t +;; coding: utf-8-emacs-unix ;; End: + ;;; keyfreq-autoloads.el ends here diff --git a/elpa/keyfreq-20220607.1613/keyfreq-pkg.el b/elpa/keyfreq-20231107.106/keyfreq-pkg.el similarity index 62% rename from elpa/keyfreq-20220607.1613/keyfreq-pkg.el rename to elpa/keyfreq-20231107.106/keyfreq-pkg.el index be532f45..24388618 100644 --- a/elpa/keyfreq-20220607.1613/keyfreq-pkg.el +++ b/elpa/keyfreq-20231107.106/keyfreq-pkg.el @@ -1,6 +1,6 @@ -(define-package "keyfreq" "20220607.1613" "track command frequencies" +(define-package "keyfreq" "20231107.106" "track command frequencies" '((cl-lib "0.5")) - :commit "dd88193cd7a91a92113121191573758ea2a3ceb1" :authors + :commit "c6955162307f37c2ac631d9daf118781009f8dda" :authors '(("Ryan Yeske, Michal Nazarewicz (mina86/AT/mina86.com)")) :maintainers '(("David Capello, Xah lee")) diff --git a/elpa/keyfreq-20220607.1613/keyfreq.el b/elpa/keyfreq-20231107.106/keyfreq.el similarity index 99% rename from elpa/keyfreq-20220607.1613/keyfreq.el rename to elpa/keyfreq-20231107.106/keyfreq.el index 9237d55a..722c0479 100644 --- a/elpa/keyfreq-20220607.1613/keyfreq.el +++ b/elpa/keyfreq-20231107.106/keyfreq.el @@ -436,7 +436,7 @@ is used as MAJOR-MODE-SYMBOL argument." (defun keyfreq-file-owner () "Return the PID of the Emacs process that owns the table file lock file." - (let (owner) + (let ((owner)) (and (file-exists-p keyfreq-file-lock) (ignore-errors (with-temp-buffer @@ -480,7 +480,7 @@ does nothing if the table cannot be saved." ;; Avoid adding nothing to the file (if (> (hash-table-count table) 0) - (let (done) + (let ((done)) ;; Check that the lock file doesn't exist (while (not done) (when (keyfreq-file-is-unlocked) -- 2.47.3