emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/indent-bars 0500330d87 070/431: README: mention after-m


From: ELPA Syncer
Subject: [elpa] externals/indent-bars 0500330d87 070/431: README: mention after-make-frame-hook
Date: Mon, 16 Sep 2024 12:59:15 -0400 (EDT)

branch: externals/indent-bars
commit 0500330d87c77c90c70af42018947bfbca554622
Author: JD Smith <93749+jdtsmith@users.noreply.github.com>
Commit: JD Smith <93749+jdtsmith@users.noreply.github.com>

    README: mention after-make-frame-hook
---
 README.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/README.md b/README.md
index 8f7409e82e..9868088d4c 100644
--- a/README.md
+++ b/README.md
@@ -42,6 +42,15 @@ To clone with `use-package` and `straight`, add to config:
   :straight (indent-bars :type git :host github :repo "jdtsmith/indent-bars")
   :hook ((python-mode yaml-mode) . indent-bars-mode)) ; or whichever modes you 
prefer
 ```
+
+## With `--daemon`
+If you open files via emacsclient which start emacs, and for which 
`indent-bars` will be enabled using the emacs daemon, you may need to delay 
loading until after the server-start, e.g.:
+
+```elisp
+  :hook
+  (server-after-make-frame-hook . (lambda () (add-hook 'prog-mode-hook  
'indent-bars-mode)))
+```
+
 ## Compatibility 
 
 For `indent-bars` to work, your port and version of emacs must correctly 
display the `:stipple` face attribute.  **Most do.**



reply via email to

[Prev in Thread] Current Thread [Next in Thread]