Skip to content

Commit

Permalink
fix(core): fix a comment to make parinfer-rust-mode happy
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 7, 2023
1 parent b0fd9f4 commit 9551edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elisp/+minemacs.el
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ Works like `shell-command-to-string' with two differences:
(insert ";; Adding the rest of the environment variables\n")
(dolist (env-var env-vars)
(unless (cl-some (+apply-partially-right #'string-match-p (car env-var)) +env-deny-vars)
;; Correctly handle edge cases '\n' and '"'
;; Correctly handle edge cases '\n' and '\"'
(let ((value (string-replace "\n" "\\n" (string-replace "\"" "\\\"" (cdr env-var)))))
(insert (format "(setenv \"%s\" \"%s\")\n"
(car env-var)
Expand Down

0 comments on commit 9551edc

Please sign in to comment.