branch: externals/buffer-env
commit f05d5bd1e71d71bf9b52267e34ad005cff6e6b2e
Author: Augusto Stoffel <[email protected]>
Commit: Augusto Stoffel <[email protected]>
Fix checkdoc and package-lint issues
---
buffer-env.el | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/buffer-env.el b/buffer-env.el
index 353f3d7cd7..132b01e5da 100644
--- a/buffer-env.el
+++ b/buffer-env.el
@@ -1,8 +1,9 @@
-;; buffer-env.el --- Buffer-local process environments -*- lexical-binding: t;
-*-
+;;; buffer-env.el --- Buffer-local process environments -*- lexical-binding:
t; -*-
;; Copyright (C) 2021 Augusto Stoffel
;; Author: Augusto Stoffel <[email protected]>
+;; URL: https://github.com/astoff/buffer-env
;; Keywords: processes, tools
;; Package-Requires: ((emacs "27.1"))
;; Version: 0.1
@@ -99,8 +100,8 @@ Files marked as safe to execute are permanently stored in
(insert-file-contents-literally file)
(secure-hash 'sha256 (current-buffer)))))
(or (member (cons file hash) buffer-env-safe-files)
- (when (y-or-n-p (format "Mark current version of ā%sā as safe to
execute? "
- file))
+ (when (y-or-n-p (format-message "Mark current version of `%s' as safe
to execute? "
+ file))
(customize-save-variable 'buffer-env-safe-files
(push (cons file hash)
buffer-env-safe-files))))))
@@ -118,8 +119,8 @@ Files marked as safe to execute are permanently stored in
"Update the process environment buffer locally.
This function executes FILE in a shell, collects the exported
variables (see `buffer-env-command' for details), and then sets
-the buffer-local values of `process-environment' and `exec-path'
-accordingly.
+the buffer-local values of the variables `exec-path' and
+`process-environment' accordingly.
If FILE omitted, a file with base name `buffer-env-script-name'
is looked up in the current directory and its parents; nothing