Skip to content

Commit

Permalink
Initialise inferior-STA-program and inferior-STA-start-args
Browse files Browse the repository at this point in the history
  • Loading branch information
BrendanHalpin committed Apr 4, 2021
1 parent 19cd9d7 commit 06f9401
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ess-stata-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
(require 'ess-mode)
(require 'ess-stata-lang)

(defvar inferior-STA-program
"stata"
"Program name for invoking an inferior ESS with \\[Stata].")

(defvar inferior-STA-start-args ""
"String of arguments used when starting Stata.")

(defvar STA-dialect-name "stata"
"Name of 'dialect' for Stata.");easily changeable in a user's .emacs

Expand Down

1 comment on commit 06f9401

@BrendanHalpin
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously inferior-STA-program and inferior-STA-start-args were initialised in ESS (in customisation?). Extracting ess-stata-mode to top-level lost this. This commit uses defvar to initialise them.

Please sign in to comment.