Fix a bug
Also, what is it about `use-package` take silently dies when it encounters both a :config and :init ... but works if they are in separate `use-package` forms.
This commit is contained in:
parent
1b81e2178a
commit
4415138707
2 changed files with 9 additions and 5 deletions
|
@ -100,10 +100,6 @@ Yet another encrypted chat/VoIP client-server, but unlike Signal and Telegram, [
|
|||
#+begin_src emacs-lisp
|
||||
(use-package ement
|
||||
:straight (:host github :repo "alphapapa/ement.el")
|
||||
:init
|
||||
(setq ement-save-sessions t
|
||||
ement-room-send-message-filter 'ement-room-send-org-filter)
|
||||
|
||||
:config
|
||||
(defun ha-ement-connect ()
|
||||
(interactive)
|
||||
|
@ -128,6 +124,14 @@ Yet another encrypted chat/VoIP client-server, but unlike Signal and Telegram, [
|
|||
"a x s" '("send" . ement-send-direct-message)))
|
||||
#+end_src
|
||||
|
||||
Perhaps we can make it more attractive:
|
||||
#+begin_src emacs-lisp
|
||||
(use-package ement
|
||||
:hook (ement-room-mode . ha-textual-litagures)
|
||||
:init
|
||||
(setq ement-save-sessions t
|
||||
ement-room-send-message-filter 'ement-room-send-org-filter))
|
||||
#+end_src
|
||||
* RPG DM
|
||||
Been working on my [[https://gitlab.com/howardabrams/emacs-rpgdm][RPG DM project]] for getting Emacs helping as a /Dungeon Master's Assistant/. The idea is to be able to roll dice and whatnot. What I find most useful is the [[https://gitlab.com/howardabrams/emacs-rpgdm/-/blob/main/rpgdm-tables.el][random tables]].
|
||||
#+begin_src emacs-lisp
|
||||
|
|
|
@ -528,7 +528,7 @@ Until I can get [[https://github.com/d12frosted/homebrew-emacs-plus/issues/222][
|
|||
`([,(cdr char-regexp) 0 font-shape-gstring])))))
|
||||
|
||||
(unless (s-contains? "HARFBUZZ" system-configuration-features)
|
||||
(add-hook 'prog-mode-hook #'ha-mac-ligature-workaround))
|
||||
(add-hook 'prog-mode-hook #'ha-mac-litagure-workaround))
|
||||
#+end_src
|
||||
|
||||
The unicode-fonts package rejigs the internal tables Emacs uses to pick better fonts for unicode codepoint ranges.
|
||||
|
|
Loading…
Reference in a new issue