Skip to content

Commit

Permalink
change from command-line-default-directory to default-directory variable
Browse files Browse the repository at this point in the history
  • Loading branch information
HollowMan6 committed Jul 3, 2020
1 parent e3e0cc9 commit 7536509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/terminal/buffer.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def open_terminal_page(self):

def on_change_directory(self):
self.update_title()
self.eval_in_emacs.emit('''(setq command-line-default-directory "'''+self.buffer_widget.execute_js("title")+'''")''')
self.eval_in_emacs.emit('''(setq default-directory "'''+self.buffer_widget.execute_js("title")+'''")''')

def update_title(self):
self.change_title(self.buffer_widget.execute_js("title"))
Expand Down

0 comments on commit 7536509

Please sign in to comment.