Skip to content

Commit

Permalink
fix emacs integration
Browse files Browse the repository at this point in the history
  • Loading branch information
malcook committed Sep 13, 2024
1 parent fcf086e commit 5c9ced9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion init/lisp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Return value is t on success, nil otherwise."
(if (> (buffer-size) 0)
(progn
;; replace cmd-buffer w/ contents of file whose name is in cmd-buffer
(insert-file-contents (buffer-substring (point-min) (1- (point-max))) nil nil nil t)
;; (insert-file-contents (buffer-substring (point-min) (1- (point-max))) nil nil nil t)
;; and run it carefully. If an error is thrown, catch it and
;; propagate the fact upwards as a nil, but be sure to still
;; execute cleanup below
Expand Down
4 changes: 2 additions & 2 deletions shells/Lisp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ function Lisp.expandVar(self, k, v, vType)
v = tostring(v):multiEscaped()
lineA[#lineA + 1] = "(setenv \""
lineA[#lineA + 1] = k
lineA[#lineA + 1] = "\" "
lineA[#lineA + 1] = "\" \""
lineA[#lineA + 1] = v
lineA[#lineA + 1] = ")\n"
lineA[#lineA + 1] = "\")\n"
local line = concatTbl(lineA,"")
stdout:write(line)
if (k:find('^_ModuleTable') == nil) then
Expand Down

0 comments on commit 5c9ced9

Please sign in to comment.