Skip to content

Commit 43cf04e

Browse files
committed
- [X] Update heading information about the minor-mode activation and setup
1 parent 27dcb9e commit 43cf04e

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

psci.el

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,21 @@
2828

2929
;;; Commentary:
3030

31-
;; Provides a nice interface to evaluating Purescript expression.
32-
;; Input is handled by the comint package, and output is passed
33-
;; through the pretty-printer.
31+
;; Provides a simple interface to evaluate Purescript expression.
32+
;; Input is handled by the comint package.
3433

35-
;; To start: M-x psci. Type C-h m in the *psci* buffer for more info.
34+
;; To start psci repl:
35+
;; M-x psci. Type C-h m in the *psci* buffer for more info.
36+
37+
;; To activate some basic bindings, you can add the following hook
38+
;; to purescript-mode:
39+
;; (add-hook 'purescript-mode-hook 'inferior-psci-mode)
40+
41+
;; To activate psci directly from a purescript-mode buffer, you
42+
;; could use repl-toggle (available on melpa):
43+
;; (require 'repl-toggle)
44+
;; (add-to-list 'rtog/mode-repl-alist '(purescript-mode . psci))
3645

37-
;;
3846
;; More informations: https://ardumont/emacs-psci
3947
;; Issue tracker: https://github.com/ardumont/emacs-psci/issues
4048

todo.org

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,13 @@ CLOSED: [2014-10-29 Wed 18:54]
2727
- [X] Add to el-get - https://github.com/ardumont/el-get/blob/add-psci-recipe/recipes/psci.rcp
2828
- [X] Update documentation regarding installation steps
2929
- [X] Update documentation regarding usage
30-
* IN-PROGRESS 0.0.4 [87%]
30+
* IN-PROGRESS 0.0.4 [88%]
3131
- [X] Update version
3232
- [X] Add an interactive command for displaying the current version
3333
- [X] Use compatible with old emacs version api (replace `(setq-local var val)` with `(set (make-local-variable 'var) val)`)
3434
- [X] `shell-quote-argument` around shell code
3535
- [X] Remove projectile dependencies and compute the root folder using emacs primitives (thanks @purcell again)
3636
- [X] Update el-get PR to remove projectile dependencies - https://github.com/dimitri/el-get/pull/1973
3737
- [X] Add a minor mode instead of modifying purescript-mode-map
38-
- [ ] Update documentation about the minor-mode activation
38+
- [X] Update heading information about the minor-mode activation and setup
39+
- [ ] Update documentation about the minor-mode activation and setup

0 commit comments

Comments
 (0)