branch: elpa/base32
commit 982c418361efc4ef9f57218f6f745fc9c528223b
Author: Vivek Das Mohapatra <[email protected]>
Commit: Vivek Das Mohapatra <[email protected]>
Docstring style trivia
Replace older `xref' markup with ‘xref’.
---
totp-interop.el | 4 ++--
totp.el | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/totp-interop.el b/totp-interop.el
index 64e348398f..d0da905ce2 100644
--- a/totp-interop.el
+++ b/totp-interop.el
@@ -237,8 +237,8 @@ the returned list is a structure returned by
`totp-unwrap-otp-blob'."
(defun totp-import-file (file)
"Import an RFC6238 TOTP secret or secrets from FILE.
-FILE is processed by `totp-load-file' and each secret extracted
-is passed to `totp-save-secret'."
+FILE is processed by ‘totp-load-file’ and each secret extracted
+is passed to ‘totp-save-secret’."
(interactive "fImport OTP Secret(s) from: ")
(mapc #'totp-save-secret (totp-load-file file)))
diff --git a/totp.el b/totp.el
index 907743bcf1..cca4dc95ba 100644
--- a/totp.el
+++ b/totp.el
@@ -227,10 +227,10 @@ The secret will NOT be base32 decoded."
;; "something")
(defun totp-storage-backends (&optional encrypted)
- "Return a list of available storage backends based on `auth-sources`.
+ "Return a list of available storage backends based on ‘auth-sources’.
If ENCRYPTED is true then only encrypted backends are considered.
Each entry is an alist of the form:
- ((:source . `auth-source-backend` object)
+ ((:source . ‘auth-source-backend’ object)
(:handler . :secrets for a desktop secrets API or :default)
(:encrypted . t if the backend is nontrivially encrypted, nil otherwise))"
(delq nil
@@ -251,7 +251,7 @@ Each entry is an alist of the form:
(defun totp-get-secrets-from-secrets-source (source)
"Return an alist of secrets from SOURCE (a desktop secrets API auth-source).
The car of each cell will be the label by which the secrets API identifies
-this secret, the cdr will be an alist as returned by `totp-unwrap-otp-blob`."
+this secret, the cdr will be an alist as returned by ‘totp-unwrap-otp-blob’."
(let (found vault next)
(setq vault (slot-value source 'source))
(mapc
@@ -547,8 +547,8 @@ and EXPIRY is the seconds after the epoch when the TOTP
expires."
(autoload 'totp-import-file "totp-interop"
"Import an RFC6238 TOTP secret or secrets from FILE.
-FILE is processed by `totp-load-file' and each secret extracted
-is passed to `totp-save-secret'."
+FILE is processed by ‘totp-load-file’ and each secret extracted
+is passed to ‘totp-save-secret’."
t)
(provide 'totp)