Skip to content
Andy Stewart edited this page Jan 12, 2020 · 26 revisions

There are certain variables will be shared across Emacs Lisp and Python. You can easily configure then with the function eaf-setq.

Check the full list of configurable variables with C-h v eaf-var-list

EAF Browser

Set Default Browser

Set EAF Browser as your default browser within Emacs.

(setq browse-url-browser-function 'eaf-open-browser)
(defalias 'browse-web #'eaf-open-browser)

Blank page url

Default url of blank page is https://www.google.com

(eaf-setq eaf-browse-blank-page-url "https://duckduckgo.com")

Disable JavaScript

For security reasons, some people may want to disable JavaScript within EAF Browser. The option has been probided.

(eaf-setq eaf-browser-enable-plugin "false")
(eaf-setq eaf-browser-enable-javascript "false")

We don’t recommend it, you will lose a lot of features that EAF Browser provided.

Set Default Zoom of Browser

Default zoom of EAF Browser is 1.0, you can set default zoom with below code:

(eaf-setq eaf-browse-default-zoom "1.25")

EAF Camera

The default directory to store images taken by EAF Camera is ~/Downloads. You can change it like this.

(eaf-setq eaf-camera-save-path "new/path/")
Clone this wiki locally