diff options
author | Ashley Duckworth | 2021-01-23 15:06:14 -0600 |
---|---|---|
committer | Ashley Duckworth | 2021-01-23 15:06:14 -0600 |
commit | 3b598b9d5c10adc25dfb0a50d66d0e32a8f321ef (patch) | |
tree | 30fcc3695a9d561d20e1e1f4f69a3f0dcbfdb397 | |
parent | Add auth-source to magit-process-find-password-functions (diff) | |
download | emacs-3b598b9d5c10adc25dfb0a50d66d0e32a8f321ef.tar.gz emacs-3b598b9d5c10adc25dfb0a50d66d0e32a8f321ef.zip |
Change the variable to a hook
-rw-r--r-- | config.org | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/config.org b/config.org index e0d9a6a..20a0754 100644 --- a/config.org +++ b/config.org | |||
@@ -1455,9 +1455,13 @@ that one item is. | |||
1455 | 1455 | ||
1456 | The =auth-info= line should look like this: | 1456 | The =auth-info= line should look like this: |
1457 | 1457 | ||
1458 | #+begin_src emacs-lisp :noweb-ref settings | 1458 | #+begin_example |
1459 | (setq-default magit-process-find-password-functions | 1459 | |
1460 | '(magit-process-password-auth-source)) | 1460 | #+end_example |
1461 | |||
1462 | #+begin_src emacs-lisp :noweb-ref hooks | ||
1463 | (add-hook 'magit-process-find-password-functions | ||
1464 | #'magit-process-password-auth-source) | ||
1461 | #+end_src | 1465 | #+end_src |
1462 | 1466 | ||
1463 | **** Windows setup | 1467 | **** Windows setup |