diff options
author | Gene Pasquet <dev@etenil.net> | 2022-11-15 15:00:51 +0000 |
---|---|---|
committer | Gene Pasquet <dev@etenil.net> | 2022-11-15 15:00:51 +0000 |
commit | 85ba522df1c4e042528c6b8524fecd41dc218675 (patch) | |
tree | 606dba25537966942467040a4f2f7be4e00c6246 /barb-mode.el | |
parent | c724844da1f731460f83811378a781991d25f571 (diff) |
Diffstat (limited to 'barb-mode.el')
-rw-r--r-- | barb-mode.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/barb-mode.el b/barb-mode.el index aa79110..ba296ce 100644 --- a/barb-mode.el +++ b/barb-mode.el @@ -11,6 +11,9 @@ (let ((st (make-syntax-table))) st)) +(defcustom barb-mode-exec "barb" + "Path to or name of the `barb' executable.") + (defun barb-indent-line () "Indent the current line - I do nothing." (save-excursion @@ -36,7 +39,7 @@ (let ((active-buf (current-buffer))) (with-output-to-temp-buffer "*barb*" (let ((buffer (get-buffer "*barb*"))) - (call-process "/home/etenil/.cargo/bin/barb" nil buffer nil (buffer-file-name active-buf))))))) + (call-process barb-mode-exec nil buffer nil (buffer-file-name active-buf))))))) (defvar barb-mode-map |