Add one line of ELisp code

pull/2/head
Fabrice Niessen 2015-04-29 22:03:28 +02:00
parent 39d53458d3
commit aec5d1a391
2 changed files with 4 additions and 0 deletions

View File

@ -1997,6 +1997,8 @@ Reference code like <span class="org-org-code">variables</span> or <span class="
(<span class="org-keyword">defun</span> <span class="org-function-name">hello</span> (name <span class="org-type">&amp;optional</span> greeting)
(message <span class="org-string">"%s %s"</span> (or greeting <span class="org-string">"Hello"</span>) name))
(setq tab-width 4)
</pre></div>
</div>
</div>

View File

@ -1081,6 +1081,8 @@ int main(int arc, char **argv)
(defun hello (name &optional greeting)
(message "%s %s" (or greeting "Hello") name))
(setq tab-width 4)
#+end_src
# See http://sphinxcontrib-emacs.readthedocs.org/en/latest/guide/domain.html