aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-07-05 09:18:37 -0500
committerColin Okay <colin@cicadas.surf>2022-07-05 09:18:37 -0500
commit65e1a688c88d4db8ae89bde0774062878616b4bf (patch)
treecb81286f189a71497591a6fad527c705a4737537
parent21773b5b70be64a34a235c5e1e41944caf144bb3 (diff)
[modify] bepasty section; [add] read-file-into-string function
-rw-r--r--init-el.org9
1 files changed, 8 insertions, 1 deletions
diff --git a/init-el.org b/init-el.org
index 4027313..5c39975 100644
--- a/init-el.org
+++ b/init-el.org
@@ -714,7 +714,14 @@ So, to use this file for the very first time you must
#+name: cicadas-bepasty
#+begin_src elisp :noweb no-export :results none
-(setq cicadas-paste-pw "3m4x_1uv3r")
+(defun read-file-into-string (f)
+ (with-temp-buffer
+ (insert-file-contents f)
+ (buffer-string)))
+
+
+
+(setq cicadas-paste-pw (read-file-into-string "~/.bepasty-key"))
(defun cicadas-paste-current-buffer ()
(interactive)