diff options
Diffstat (limited to 'lisp/jakob.el')
| -rw-r--r-- | lisp/jakob.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/jakob.el b/lisp/jakob.el index c39f923..335eed3 100644 --- a/lisp/jakob.el +++ b/lisp/jakob.el @@ -26,8 +26,6 @@ ;;; pass ;;; -;; TODO: Replace with pass.el? - ;; Here's a snippet for interactively pulling a password from password-store, so ;; I'm not spawning a terminal every time I need to invoke my password manager. @@ -49,7 +47,7 @@ Passwords are taken from `password-store-directory'." (path (concat password-store-directory "/" account ".gpg"))) (with-temp-buffer (insert-file-contents path) - (clipboard-kill-ring-save 1 (1- (buffer-end 1)))) + (clipboard-kill-ring-save 1 (line-end-position))) (message "Password for %s copied to clipboard." account))) @@ -60,6 +58,8 @@ Passwords are taken from `password-store-directory'." ;; A little snippet for getting an answer to a dumb question. Responses were ;; lifted from Wikipedia's page [1] about the toy. ;; +;; This really only exists for experimenting with `native-comp'. +;; ;; [1]: https://en.wikipedia.org/wiki/Magic_8-Ball (defun consult () |