Add one line of ELisp code
parent
39d53458d3
commit
aec5d1a391
|
@ -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">&optional</span> greeting)
|
(<span class="org-keyword">defun</span> <span class="org-function-name">hello</span> (name <span class="org-type">&optional</span> greeting)
|
||||||
(message <span class="org-string">"%s %s"</span> (or greeting <span class="org-string">"Hello"</span>) name))
|
(message <span class="org-string">"%s %s"</span> (or greeting <span class="org-string">"Hello"</span>) name))
|
||||||
|
|
||||||
|
(setq tab-width 4)
|
||||||
</pre></div>
|
</pre></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1081,6 +1081,8 @@ int main(int arc, char **argv)
|
||||||
|
|
||||||
(defun hello (name &optional greeting)
|
(defun hello (name &optional greeting)
|
||||||
(message "%s %s" (or greeting "Hello") name))
|
(message "%s %s" (or greeting "Hello") name))
|
||||||
|
|
||||||
|
(setq tab-width 4)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
# See http://sphinxcontrib-emacs.readthedocs.org/en/latest/guide/domain.html
|
# See http://sphinxcontrib-emacs.readthedocs.org/en/latest/guide/domain.html
|
||||||
|
|
Loading…
Reference in New Issue