about summary refs log tree commit diff
path: root/users/grfn/emacs.d
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-11-08T16·57-0500
committergrfn <grfn@gws.fyi>2021-11-08T17·01+0000
commite92e462d7595ac458195d6372ea280941cadccb3 (patch)
treeb70e68079c7a2666cde9c1c3f06ec962fc3dcee9 /users/grfn/emacs.d
parent0d1980f2d6e923262ee64b360bca34899c805596 (diff)
fix(gs/emacs): Fix link syntax for org email capture template r/3029
%l includes two pairs square brackets around the text, which doesn't
work if we want a description - %L only includes the literal link
location, so we can surround it in only one pair of square brackets

Change-Id: I3436f631f0e33336214828e0eb58d5333418b26f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3820
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/grfn/emacs.d')
-rw-r--r--users/grfn/emacs.d/org-config.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/grfn/emacs.d/org-config.el b/users/grfn/emacs.d/org-config.el
index 8258ae6a02a7..81fb35a1cbda 100644
--- a/users/grfn/emacs.d/org-config.el
+++ b/users/grfn/emacs.d/org-config.el
@@ -71,7 +71,7 @@
 
    ("m" "Email" entry
     (file +org-default-todo-file)
-    "* TODO [%l[%:subject]] :email:\n%i")
+    "* TODO [[%L][%:subject]] :email:\n%i")
 
    ("n" "Notes" entry
     (file +org-default-todo-file)