diff options
author | Alan Pearce | 2017-05-03 10:03:46 +0200 |
---|---|---|
committer | Alan Pearce | 2017-05-03 10:03:46 +0200 |
commit | 1e160edd4ce6c7fa1181cbe311594b9b6d819e1a (patch) | |
tree | a285a3a002dc6d2632945585bbc6c6c1dc4565b8 /content/post/cedit-and-paredit.md | |
parent | 0f1c6aefc239a13f86a8222ab66fc3f213c4888e (diff) | |
download | website-1e160edd4ce6c7fa1181cbe311594b9b6d819e1a.tar.lz website-1e160edd4ce6c7fa1181cbe311594b9b6d819e1a.tar.zst website-1e160edd4ce6c7fa1181cbe311594b9b6d819e1a.zip |
Update shortcode syntax
Diffstat (limited to 'content/post/cedit-and-paredit.md')
-rw-r--r-- | content/post/cedit-and-paredit.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/post/cedit-and-paredit.md b/content/post/cedit-and-paredit.md index 09ed176..a8b65a1 100644 --- a/content/post/cedit-and-paredit.md +++ b/content/post/cedit-and-paredit.md | |||
@@ -28,12 +28,12 @@ paredit. Turns out it provides | |||
28 | that control whether a space should be inserted. So, solving the | 28 | that control whether a space should be inserted. So, solving the |
29 | formatting issue turned out to be pretty simple: | 29 | formatting issue turned out to be pretty simple: |
30 | 30 | ||
31 | {{% highlight cl %}} | 31 | {{< highlight cl >}} |
32 | (defun ap/cedit-space-delimiter-p (endp delimiter) | 32 | (defun ap/cedit-space-delimiter-p (endp delimiter) |
33 | "Don't insert a space before delimiters in c-style modes" | 33 | "Don't insert a space before delimiters in c-style modes" |
34 | (not cedit-mode)) | 34 | (not cedit-mode)) |
35 | (add-to-list 'paredit-space-for-delimiter-predicates #'ap/cedit-space-delimiter-p) | 35 | (add-to-list 'paredit-space-for-delimiter-predicates #'ap/cedit-space-delimiter-p) |
36 | {{% /highlight %}} | 36 | {{< /highlight >}} |
37 | 37 | ||
38 | Hopefully that saves someone some time if they try to use the two | 38 | Hopefully that saves someone some time if they try to use the two |
39 | together. | 39 | together. |