(with-eval-after-load 'emms
(setq emms-directory (b/var "emms")))
+(add-to-list 'load-path (b/lisp "ffs"))
+(run-with-idle-timer 0.5 nil #'require 'ffs)
+(with-eval-after-load 'ffs
+ (global-set-key (kbd "C-c f s") #'ffs))
+
+(defun b/export-frame ()
+ (interactive)
+ ;; TODO: ask for fn and/or take as arg
+ (let* ((fn (make-temp-file "emacs" nil ".pdf"))
+ (data (x-export-frames nil 'pdf)))
+ (with-temp-file fn
+ (insert data))
+ (kill-new fn)
+ (message fn)))
+
\f
;;; Post initialization