mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-03-07 14:21:47 -08:00
Treat paths as paths, rather than strings. Removes the requirements that doom-*-dir variables end in slash (though I'll continue doing so as a convention). Also moves a lot of cache/data into the current profile's cache/data directories. Shouldn't actually affect anything for folks not using Doom's profile system (yet). Fix: #8616
18 lines
549 B
EmacsLisp
18 lines
549 B
EmacsLisp
;;; app/emms/config.el -*- lexical-binding: t; -*-
|
|
|
|
(use-package! emms
|
|
:defer t
|
|
:init
|
|
(setq emms-directory (file-name-concat doom-profile-data-dir "emms")
|
|
emms-cache-file (file-name-concat doom-profile-cache-dir "emms"))
|
|
:config
|
|
(emms-all)
|
|
(emms-default-players)
|
|
(map! :map emms-playlist-mode-map
|
|
:localleader
|
|
"l" #'emms-toggle-repeat-playlist
|
|
"p" #'emms-insert-playlist
|
|
"i" #'emms-insert-file
|
|
"t" #'emms-toggle-repeat-track
|
|
"s" #'emms-playlist-save
|
|
"m" #'emms-shuffle))
|