summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-03-14 23:39:34 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-03-14 23:39:34 +0100
commit9b943139ab1fc55fd55ae775d0df937d878953e8 (patch)
tree5737c80eec49d10498dc6033e31c3d693ddf1c5e
parent93aae3b12c8aceb3459c574e8277655f82c03224 (diff)
Use use-package for scpaste.
-rw-r--r--init.org10
1 files changed, 6 insertions, 4 deletions
diff --git a/init.org b/init.org
index 47bac39..2aebb64 100644
--- a/init.org
+++ b/init.org
@@ -739,10 +739,12 @@ I also use snippets for commonly typed expressions.
The =scpaste= package allows me to quickly paste text to my personal web site. It only needs to know where to place the text files and where they would be publicly accessible via HTTP.
#+BEGIN_SRC elisp
-(setq scpaste-http-destination "https://elephly.net/paste")
-(setq scpaste-scp-destination "elephly.net:~/elephly.net/paste/")
-(setq scpaste-scp-port "1022")
-(setq scpaste-make-name-function #'scpaste-make-name-from-timestamp)
+(use-package scpaste
+ :custom
+ (scpaste-http-destination "https://elephly.net/paste")
+ (scpaste-scp-destination "elephly.net:~/elephly.net/paste/")
+ (scpaste-scp-port "1022")
+ (scpaste-make-name-function #'scpaste-make-name-from-timestamp))
#+END_SRC
* Pretty symbols