summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-04-18 11:39:10 +0800
committerJSDurand <mmemmew@gmail.com>2022-04-18 11:39:10 +0800
commit2e7a42d50fcfb9271137f7235333cdc6e92fb18f (patch)
tree842b9d1ec78333604ff65439c8185fb1402458a0
parenta0a4df14a231ef705b1f706b0d6a3ef4eaabd479 (diff)
bongo: call bongo-dired-library-mode
Call the function instead of setting the variable. This is safer in my opinion now.
-rw-r--r--bongo.el4
1 files changed, 3 insertions, 1 deletions
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 ()