From a460e55eb34906700bfac034ddb0b6ddf06720aa Mon Sep 17 00:00:00 2001 From: fpi Date: Wed, 1 Jul 2020 19:32:16 +0200 Subject: Dumb fix for org-roam link faces calling tramp --- emacs-init.org | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3