Skip to content

Commit

Permalink
Update term-keys/*-run-emacs to load the correct file
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberShadow committed Nov 10, 2017
1 parent f88cd16 commit e28ed80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion term-keys-urxvt.el
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ This function is used for testing and as an example."
(term-keys/urxvt-args)
(list
"-e" (car command-line-args) "-nw"
"--load" (or load-file-name buffer-file-name)
"--load" (concat
(file-name-directory (or load-file-name buffer-file-name))
"term-keys.el")
"--funcall" "term-keys/init"
))))

Expand Down
4 changes: 3 additions & 1 deletion term-keys-xterm.el
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ This function is used for testing and as an example."
(term-keys/xterm-args)
(list
"-e" (car command-line-args) "-nw"
"--load" (or load-file-name buffer-file-name)
"--load" (concat
(file-name-directory (or load-file-name buffer-file-name))
"term-keys.el")
"--funcall" "term-keys/init"
))))

Expand Down

0 comments on commit e28ed80

Please sign in to comment.