Currently, this minor-mode defines:
evaluated by conkeror. This function is
eval-in-conkerorbound to C-c C-c.
- Syntax coloring.
- Indentation according to Conkeror Guidelines.
- Warning colors when anything in your code is not compliant with
Conkeror Guidelines. If
you find this one excessive, you can set
If you install from Melpa just skip to the activation instructions below.
If you install manually, make sure it's loaded
(add-to-list 'load-path "/PATH/TO/CONKEROR-MINOR-MODE") (autoload 'conkeror-minor-mode "conkeror-minor-mode")
then follow activation instructions below.
It is up to you to define when
conkeror-minor-mode should be
(add-hook 'js-mode-hook 'conkeror-minor-mode)
If you want it only on some files, you can have it activate only on
(add-hook 'js-mode-hook (lambda () (when (string= ".conkerorrc" (buffer-name)) (conkeror-minor-mode 1))))
or, alternatively, only on files with "conkeror" somewhere in the path:
(add-hook 'js-mode-hook (lambda () (when (string-match "conkeror" (buffer-file-name)) (conkeror-minor-mode 1))))