Browse Source

Set the default chrome data dir in .emacs.d

* indium-chrome.el (indium-chrome-data-dir): Use a directory in .emacs.d by
  default.
tags/2.1.2
Nicolas Petton 1 year ago
parent
commit
3ab9cd7d84
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      indium-chrome.el

+ 6
- 1
indium-chrome.el View File

@@ -61,7 +61,12 @@
The temporary profile can be set with `indium-chrome-data-dir'."
:type '(boolean))

(defvar indium-chrome-data-dir (make-temp-file nil t)
(defvar indium-chrome--default-data-dir (expand-file-name "indium-chrome-profile"
user-emacs-directory)
"Default directory used as Chrome data directory.")

(defvar indium-chrome-data-dir
(make-directory indium-chrome--default-data-dir t)
"Chrome profile directory used by Indium.")

(defun indium-launch-chrome (conf)


Loading…
Cancel
Save