summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2024-01-12 02:15:12 +0000
committerjao <jao@gnu.org>2024-01-12 02:15:12 +0000
commita36b20fe247af3ea32eb65e3887a6bc18590f5cd (patch)
tree80dc28d33dca05c8f10ea396465855d3e9b186dd
parent9256151148824bf1f5b65b2a8778f1ae95c0fcf6 (diff)
downloadelibs-a36b20fe247af3ea32eb65e3887a6bc18590f5cd.tar.gz
elibs-a36b20fe247af3ea32eb65e3887a6bc18590f5cd.tar.bz2
silly leftovers removed
-rw-r--r--init.el12
1 files changed, 5 insertions, 7 deletions
diff --git a/init.el b/init.el
index 921a472..fa8ea54 100644
--- a/init.el
+++ b/init.el
@@ -780,6 +780,7 @@
(use-package jao-skel
:demand t
:config
+ (defvar flymake-allowed-file-name-masks nil)
(require 'jao-skel-geiser)
(require 'jao-skel-lisp)
(require 'jao-skel-haskell)
@@ -2908,22 +2909,19 @@
(defalias 'jao-streaming-toggle-shuffle #'jao-spt-toggle-shuffle)))
(defvar jao-spt-on nil)
-(defun jao-spt-on-p () jao-spt-on)
-
(jao-def-exec-in-term "spt" "spt" (jao-afio-goto-scratch))
-(defun jao-streaming-toggle-player (&optional mpris)
+(defun jao-streaming-toggle-player ()
(interactive)
- (if (or mpris jao-spt-on)
+ (if jao-spt-on
(progn (setq jao-mpris-player "playerctld")
(require 'jao-mpris)
(jao-mpris-setup-aliases))
(jao-spt-setup-aliases)
(setq jao-mpris-player "spt"))
- (message "%s activated "
- (if (setq jao-spt-on (not jao-spt-on)) "spt" "mpris")))
+ (message "%s activated " jao-mpris-player))
-(jao-streaming-toggle-player t)
+(jao-streaming-toggle-player)
;;;; music transients
(require 'jao-lyrics)