Ement: save sessions
Add custom function to speedup connecting to matrix via pantalaimon
This commit is contained in:
parent
58edd2e151
commit
10744ecb2d
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue