diff options
author | fpi | 2020-07-01 19:32:16 +0200 |
---|---|---|
committer | fpi | 2020-07-01 19:33:14 +0200 |
commit | a460e55eb34906700bfac034ddb0b6ddf06720aa (patch) | |
tree | a6f874bdd8f358ce0e91e3e497b7579e2502e8f2 | |
parent | Add function to properly load & toggle the theme (diff) |
Dumb fix for org-roam link faces calling tramp
-rw-r--r-- | emacs-init.org | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/emacs-init.org b/emacs-init.org index d2f55ff..7ed76fe 100644 --- a/emacs-init.org +++ b/emacs-init.org @@ -2847,8 +2847,13 @@ Set some prettify symbols for org mode. ("C-c n f" . org-roam-find-file) ("C-c n g" . org-roam-show-graph)) :map org-mode-map - (("C-c n i" . org-roam-insert)))) + (("C-c n i" . org-roam-insert))) + :config (defun org-roam--roam-file-link-face (path) + "Return `org-link'" + 'org-link) + ) #+end_src +Fix for hanging emacs. The original function calls file-exist-p which opens a slow tramp connection. **** org-roam-bibtex #+begin_src emacs-lisp :tangle no (use-package org-roam-bibtex |