From 2e7a42d50fcfb9271137f7235333cdc6e92fb18f Mon Sep 17 00:00:00 2001 From: JSDurand Date: Mon, 18 Apr 2022 11:39:10 +0800 Subject: bongo: call bongo-dired-library-mode Call the function instead of setting the variable. This is safer in my opinion now. --- bongo.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bongo.el') diff --git a/bongo.el b/bongo.el index a0efde3..0fe7d60 100644 --- a/bongo.el +++ b/bongo.el @@ -130,7 +130,9 @@ Adapted from Protesilaos' dotemacs." ((file-in-directory-p default-directory dir) (setq found t)))) found) - (set (make-local-variable 'bongo-dired-library-mode) 't)))) + (bongo-dired-library-mode 1) + ;; (set (make-local-variable 'bongo-dired-library-mode) 't) + ))) ;;;###autoload (defun prot/bongo-clear-playlist-and-stop () -- cgit v1.2.3-18-g5258