You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/haskell-mode.texi
+80-59Lines changed: 80 additions & 59 deletions
Original file line number
Diff line number
Diff line change
@@ -126,8 +126,58 @@ Requests}.
126
126
@nodeGettingStarted
127
127
@chapter Getting Started
128
128
129
-
If you are reading this, you have most likely already managed to install
130
-
Haskell Mode in one way or another.
129
+
@section Quick Installation
130
+
131
+
Make sure you have this in your @uref{http://www.gnu.org/software/emacs/manual/html_node/emacs/Init-File.html, initfile} (usually `~/.emacs`). If you already have @code{custom-set-variables}, merge its contents:
132
+
133
+
@lisp
134
+
(require'package)
135
+
(custom-set-variables
136
+
;; custom-set-variables was added by Custom.
137
+
;; If you edit it by hand, you could mess it up, so be careful.
138
+
;; Your init file should contain only one such instance.
139
+
;; If there is more than one, they won't work right.
@uref{https://github.com/bbatsov/prelude, EmacsPrelude}) and @uref{https://packages.debian.org/search?keywords=haskell-mode, Debianpackage}.
168
+
169
+
Emacs23 requires an the use of @code{cl-lib}. cl-lib.el can be found in
170
+
the tests/compat directory. Copy cl-lib.el to your emacs
171
+
directory, e.g. ~/.emacs.d directory and put
172
+
173
+
@lisp
174
+
(add-to-list'load-path"~/.emacs.d/")
175
+
(require'cl-lib)
176
+
@end lisp
177
+
178
+
in your .emacs file.
179
+
180
+
@section Customizing
131
181
132
182
@cindexcustomizing
133
183
Most of Haskell Mode's settings are configurable via customizable
@@ -141,9 +191,7 @@ One of the important setting you should customize is the
141
191
@code{haskell-mode-hook} variable (@pxref{Hooks,,,emacs}) which gets run
142
192
right after the @code{haskell-mode} major mode is initialized for a
143
193
buffer. You can customize @code{haskell-mode-hook} by @kbd{M-x
0 commit comments