A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/xuchunyang/elisp-demos below:

xuchunyang/elisp-demos: Demonstrate Emacs Lisp APIs

Showing an Elisp demo of mapcar in C-h f mapcar:

To inject elisp demos into *Help*, such as C-h f (M-x describe-function), use

(advice-add 'describe-function-1 :after #'elisp-demos-advice-describe-function-1)

If you use Helpful, use

(advice-add 'helpful-update :after #'elisp-demos-advice-helpful-update)

Put your awesome Elisp demos into elisp-demos.org. A demo is simply an Org heading. Here is mapcar's.

* mapcar

#+BEGIN_SRC elisp
(mapcar #'1+ '(1 2 3))
#+END_SRC

#+RESULTS:
: (2 3 4)

You can use M-x elisp-demos-add-demo to insert a new demo or edit an existing one.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4