Disable autocomplete and enable craft of emacs

This commit is contained in:
Willem van den Ende
2023-01-31 10:23:53 +00:00
parent d4d2b65993
commit 527b64159c
2 changed files with 13 additions and 1 deletions
+10 -1
View File
@@ -215,13 +215,17 @@
(after!
(magit) (remove-hook 'magit-post-refresh-hook 'diff-hl-magit-post-refresh))
;; from hlissner https://github.com/hlissner/.doom.d/blob/2529bcd46c5aad0cbe796793e5c08e1faf5ba272/config.el#L59-L65
;; disable auto-complete
(after! company
(setq company-idle-delay nil))
;; HACK show small snippets for backlinks preview in roam-buffer
;; there is currently a problem in org-mode that shows an error
;; org-element--cache: Unregistered buffer modifications detected. Resetting. but this also happens without this function, it appears to be an interaction between org-roam and changes in orgmode.
(defun qwan/brief-preview ()
(let* ((elem (org-element-context))
(parent (org-element-property :parent elem)))
;; TODO: alt handling for non-paragraph elements
;; TODO: alt for non-paragraph elements
(string-trim-right
(buffer-substring-no-properties
(org-element-property :begin parent)
@@ -385,3 +389,8 @@ the description. This may destroy existing links, or change their targets so use
(should (equal 1 1)))
(ert-make-test-unbound 'refactor-rename-test-for-fun)
;; (ert "refactor.*")
;; craft of emacs
(add-load-path! "coe-xx")
(require 'coe-xx)
(require 'coe-demo)