diff --git a/home/emacs/init.el b/home/emacs/init.el index 3034700b..15a53475 100644 --- a/home/emacs/init.el +++ b/home/emacs/init.el @@ -667,9 +667,18 @@ (use-package mastodon :commands mastodon) +(setq ement-save-sessions t) + (use-package ement :commands ement-connect) +(defun my/ement-connect-pantalaimon () + "Connect to ement.el by calling `ement-connect' with pantalaimon service as uri-prefix" + (interactive) + (ement-connect + :user-id "@tux922:tchncs.de" + :uri-prefix "http://localhost:8008")) + (when (require 'emms-setup nil :noerror) (setq emms-player-list '(emms-player-mpv) emms-info-functions '(emms-info-native) diff --git a/home/emacs/init.org b/home/emacs/init.org index a8d95179..0b77d258 100644 --- a/home/emacs/init.org +++ b/home/emacs/init.org @@ -783,8 +783,17 @@ For reference information, see [[https://orgmode.com][Org-mode website]] *** Matrix / Ement.el #+begin_src emacs-lisp + (setq ement-save-sessions t) + (use-package ement :commands ement-connect) + + (defun my/ement-connect-pantalaimon () + "Connect to ement.el by calling `ement-connect' with pantalaimon service as uri-prefix" + (interactive) + (ement-connect + :user-id "@tux922:tchncs.de" + :uri-prefix "http://localhost:8008")) #+end_src