summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAndrea Richiardi <a.richiardi.work@gmail.com>2018-07-23 11:18:56 -0700
committerBozhidar Batsov <bozhidar.batsov@gmail.com>2018-07-23 21:18:56 +0300
commitaef642f518992975f51b40e1f347f482a26e9ae6 (patch)
treedc2415657fac5647216a7bdb5a11a0d23b6a888e /doc
parent7e8b60d88d65194d2f65596aa5dd4d82d620a3a7 (diff)
Add autoloads target to Makefile (#2378)
Helper target to create cider-autoloads.el automatically. Doc updated as well.
Diffstat (limited to 'doc')
-rw-r--r--doc/hacking_on_cider.md14
1 files changed, 9 insertions, 5 deletions
diff --git a/doc/hacking_on_cider.md b/doc/hacking_on_cider.md
index 8fd064f5..f260f519 100644
--- a/doc/hacking_on_cider.md
+++ b/doc/hacking_on_cider.md
@@ -17,11 +17,15 @@ in advance).
Additionally you will have to generate and require the
[autoloads](https://www.gnu.org/software/emacs/manual/html_node/elisp/Autoload.html),
-otherwise you'll keep getting errors about missing commands.
-That's done automatically when installing via `package.el`, but you'll
-have to do manually with `M-x update-directory-autoloads`. The
-function will prompt for saving a file, let's call it
-`cider-autoloads.el` that you will then need to require.
+otherwise you'll keep getting errors about missing commands. That's done
+automatically when installing via `package.el` but you'll have to do it
+manually in this case:
+
+```shell
+make autoloads # generates cider-autoloads.el
+```
+
+Then:
```el
;; load CIDER from its source code