* org-element, spurious command??
@ 2014-01-06 15:19 Robert Klein
2014-01-06 16:31 ` Nicolas Goaziou
0 siblings, 1 reply; 2+ messages in thread
From: Robert Klein @ 2014-01-06 15:19 UTC (permalink / raw)
To: Org Mode Mailing List
Hi,
I've been reading lisp/org-element.el, when I found a command lounging
around in the middle of the file outside of any defun:
(put 'org-element-map 'lisp-indent-function 2)
on line 4275 (maint tree this morning).
Is this intended to be there?
PS: it is also in the master tree, line 4276.
Thanks and best regards
Robert
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: org-element, spurious command??
2014-01-06 15:19 org-element, spurious command?? Robert Klein
@ 2014-01-06 16:31 ` Nicolas Goaziou
0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2014-01-06 16:31 UTC (permalink / raw)
To: Robert Klein; +Cc: Org Mode Mailing List
Hello,
Robert Klein <roklein@roklein.de> writes:
> I've been reading lisp/org-element.el, when I found a command lounging
> around in the middle of the file outside of any defun:
>
> (put 'org-element-map 'lisp-indent-function 2)
>
> on line 4275 (maint tree this morning).
>
> Is this intended to be there?
Yes, it is. `org-element-map' is defined just above. This sexp sets
indentations rules for it.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-01-06 16:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-06 15:19 org-element, spurious command?? Robert Klein
2014-01-06 16:31 ` Nicolas Goaziou
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).