Configure authentication sources.
This commit is contained in:
parent
ae8c15f62e
commit
5cbaa31e8e
|
@ -1,6 +1,6 @@
|
||||||
;;; global-variables.el --- Set global variables. -*- lexical-binding: t; -*-
|
;;; global-variables.el --- Set global variables. -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Time-stamp: <2019-10-14T12:32:41+00:00>
|
;; Time-stamp: <2019-11-20T03:49:41+00:00>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;; * Set `slow-computer'.
|
;; * Set `slow-computer'.
|
||||||
|
@ -45,6 +45,11 @@
|
||||||
|
|
||||||
(recentf-max-saved-items 40) ; Keep this number of buffers in history.
|
(recentf-max-saved-items 40) ; Keep this number of buffers in history.
|
||||||
|
|
||||||
|
;; Preference of authentication sources.
|
||||||
|
(auth-sources '("~/.authinfo.gpg" "~/.authinfo" "~/.netrc"))
|
||||||
|
;; Encrypt to these users.
|
||||||
|
(auth-source-gpg-encrypt-to (cons (symbol-value 'user-mail-address) '()))
|
||||||
|
|
||||||
:config
|
:config
|
||||||
(defalias 'yes-or-no-p 'y-or-n-p) ; Just type y/n instead of yes/no.
|
(defalias 'yes-or-no-p 'y-or-n-p) ; Just type y/n instead of yes/no.
|
||||||
(savehist-mode t) ; Save minibuffer history.
|
(savehist-mode t) ; Save minibuffer history.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user