emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/orgit a479c8f31a 1/7: Use pcase's quote upattern


From: ELPA Syncer
Subject: [nongnu] elpa/orgit a479c8f31a 1/7: Use pcase's quote upattern
Date: Fri, 22 Apr 2022 18:59:04 -0400 (EDT)

branch: elpa/orgit
commit a479c8f31a3f465f9ba791e506aae00795423f61
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Use pcase's quote upattern
---
 orgit.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/orgit.el b/orgit.el
index 921274162a..a23a8c39f8 100644
--- a/orgit.el
+++ b/orgit.el
@@ -448,9 +448,9 @@ store links to the Magit-Revision mode buffers for these 
commits."
 
 (defun orgit--format-export (link desc format)
   (pcase format
-    (`html  (format "<a href=\"%s\">%s</a>" link desc))
-    (`latex (format "\\href{%s}{%s}" link desc))
-    (`ascii link)
+    ('html  (format "<a href=\"%s\">%s</a>" link desc))
+    ('latex (format "\\href{%s}{%s}" link desc))
+    ('ascii link)
     (_      link)))
 
 ;;; Utilities



reply via email to

[Prev in Thread] Current Thread [Next in Thread]