From 21cbd9d368d3a1b255aea036ef2b5837969a4dc5 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Sun, 26 Jul 2020 10:21:19 +0200 Subject: [PATCH] Fixed issue with file opening shortcuts generation --- org/config/spacemacs.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org/config/spacemacs.org b/org/config/spacemacs.org index 4ff8fc4..4722202 100644 --- a/org/config/spacemacs.org +++ b/org/config/spacemacs.org @@ -3322,7 +3322,7 @@ *The following code is not tangled into my Spacemacs config.* However, it is used to generate shortcuts and configuration code from the above table: #+NAME: shortcuts-gen - #+BEGIN_SRC emacs-lisp :tangle no :noweb yes :var table=private-files-open-shortcuts :exports code :cache yes :results replace + #+BEGIN_SRC emacs-lisp :tangle no :noweb yes :var table=private-files-open-shortcuts :exports code :results replace (concat (mapconcat (lambda (x) (let* ((shortcut (nth 0 x)) (name (nth 1 x))) @@ -3340,7 +3340,7 @@ (file (nth 2 x))) (if (string= "" file) (format "\t\;\; %s" name) - (format "\t%s (lambda () (interactive) (find-file \"%s\"))" + (format "\t\"%s\" (lambda () (interactive) (find-file \"%s\"))" shortcut file)))) table "\n")))