[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Getting rid of the #+begin_example #+end_example in src blocks evalu

From: Julien Cubizolles
Subject: [O] Getting rid of the #+begin_example #+end_example in src blocks evaluation
Date: Thu, 27 Aug 2015 13:08:39 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

I'm trying to create a list of entries with timeshifts. I found this
very nice example:

#+begin_src emacs-lisp
  (insert "*** Cours
<2014-09-07 lun 8:45-12:00>")
  (goto-char (point-min))
  (org-clone-subtree-with-time-shift 30 "+1w")
  ;; ignore this
  (let ((str (buffer-string)))
     (set-text-properties 0 (length str) nil str) str))

but the results is bracketed by a

*** Cours....

which can of course very easily be removed. Is there a way to get only
the headingsĀ ?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]