org-src.el 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510
  1. ;;; org-src.el --- Source code examples in Org
  2. ;;
  3. ;; Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009
  4. ;; Free Software Foundation, Inc.
  5. ;;
  6. ;; Author: Carsten Dominik <carsten at orgmode dot org>
  7. ;; Bastien Guerry <bzg AT altern DOT org>
  8. ;; Keywords: outlines, hypermedia, calendar, wp
  9. ;; Homepage: http://orgmode.org
  10. ;; Version: 6.30trans
  11. ;;
  12. ;; This file is part of GNU Emacs.
  13. ;;
  14. ;; GNU Emacs is free software: you can redistribute it and/or modify
  15. ;; it under the terms of the GNU General Public License as published by
  16. ;; the Free Software Foundation, either version 3 of the License, or
  17. ;; (at your option) any later version.
  18. ;; GNU Emacs is distributed in the hope that it will be useful,
  19. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  20. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  21. ;; GNU General Public License for more details.
  22. ;; You should have received a copy of the GNU General Public License
  23. ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  24. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  25. ;;
  26. ;;; Commentary:
  27. ;; This file contains the code dealing with source code examples in Org-mode.
  28. ;;; Code:
  29. (require 'org-macs)
  30. (require 'org-compat)
  31. (declare-function org-do-remove-indentation "org" (&optional n))
  32. (declare-function org-get-indentation "org" (&optional line))
  33. (defcustom org-edit-src-region-extra nil
  34. "Additional regexps to identify regions for editing with `org-edit-src-code'.
  35. For examples see the function `org-edit-src-find-region-and-lang'.
  36. The regular expression identifying the begin marker should end with a newline,
  37. and the regexp marking the end line should start with a newline, to make sure
  38. there are kept outside the narrowed region."
  39. :group 'org-edit-structure
  40. :type '(repeat
  41. (list
  42. (regexp :tag "begin regexp")
  43. (regexp :tag "end regexp")
  44. (choice :tag "language"
  45. (string :tag "specify")
  46. (integer :tag "from match group")
  47. (const :tag "from `lang' element")
  48. (const :tag "from `style' element")))))
  49. (defcustom org-coderef-label-format "(ref:%s)"
  50. "The default coderef format.
  51. This format string will be used to search for coderef labels in literal
  52. examples (EXAMPLE and SRC blocks). The format can be overwritten in
  53. an individual literal example with the -f option, like
  54. #+BEGIN_SRC pascal +n -r -l \"((%s))\"
  55. ...
  56. #+END_SRC
  57. If you want to use this for HTML export, make sure that the format does
  58. not introduce special font-locking, and avoid the HTML special
  59. characters `<', `>', and `&'. The reason for this restriction is that
  60. the labels are searched for only after htmlize has done its job."
  61. :group 'org-edit-structure ; FIXME this is not in the right group
  62. :type 'string)
  63. (defcustom org-edit-fixed-width-region-mode 'artist-mode
  64. "The mode that should be used to edit fixed-width regions.
  65. These are the regions where each line starts with a colon."
  66. :group 'org-edit-structure
  67. :type '(choice
  68. (const artist-mode)
  69. (const picture-mode)
  70. (const fundamental-mode)
  71. (function :tag "Other (specify)")))
  72. (defcustom org-edit-src-content-indentation 2
  73. "Indentation for the content is a source code block.
  74. This should be the number of spaces added to the indentation of the #+begin
  75. line in order to compute the indentation of the block content after
  76. editing it with \\[org-edit-src-code]."
  77. :group 'org-edit-structure
  78. :type 'integer)
  79. (defcustom org-edit-src-persistent-message t
  80. "Non-nil means show persistent exit help message while editing src examples.
  81. The message is shown in the header-line, which will be created in the
  82. first line of the window showing the editing buffer.
  83. When nil, the message will only be shown intermittently in the echo area."
  84. :group 'org-edit-structure
  85. :type 'boolean)
  86. (defvar org-src-mode-hook nil
  87. "Hook run after Org switched a source code snippet to its Emacs mode.
  88. This hook will run
  89. - when editing a source code snippet with \"C-c '\".
  90. - When formatting a source code snippet for export with htmlize.
  91. You may want to use this hook for example to turn off `outline-minor-mode'
  92. or similar things which you want to have when editing a source code file,
  93. but which mess up the display of a snippet in Org exported files.")
  94. (defcustom org-src-lang-modes
  95. '(("ocaml" . tuareg) ("elisp" . emacs-lisp) ("ditaa" . artist)
  96. ("asymptote" . asy))
  97. "Alist mapping languages to their major mode.
  98. The key is the language name, the value is the string that should
  99. be inserted as the name of the major mode. For many languages this is
  100. simple, but for language where this is not the case, this variable
  101. provides a way to simplify things on the user side.
  102. For example, there is no ocaml-mode in Emacs, but the mode to use is
  103. `tuareg-mode'."
  104. :group 'org-edit-structure
  105. :type '(repeat
  106. (cons
  107. (string "Language name")
  108. (symbol "Major mode"))))
  109. ;;; Editing source examples
  110. (defvar org-src-mode-map (make-sparse-keymap))
  111. (define-key org-src-mode-map "\C-c'" 'org-edit-src-exit)
  112. (defvar org-edit-src-force-single-line nil)
  113. (defvar org-edit-src-from-org-mode nil)
  114. (defvar org-edit-src-picture nil)
  115. (defvar org-edit-src-beg-marker nil)
  116. (defvar org-edit-src-end-marker nil)
  117. (defvar org-edit-src-overlay nil)
  118. (defvar org-edit-src-nindent nil)
  119. (define-minor-mode org-src-mode
  120. "Minor mode for language major mode buffers generated by org.
  121. This minor mode is turned on in two situations:
  122. - when editing a source code snippet with \"C-c '\".
  123. - When formatting a source code snippet for export with htmlize.
  124. There is a mode hook, and keybindings for `org-edit-src-exit' and
  125. `org-edit-src-save'")
  126. (defun org-edit-src-code ()
  127. "Edit the source code example at point.
  128. The example is copied to a separate buffer, and that buffer is switched
  129. to the correct language mode. When done, exit with \\[org-edit-src-exit].
  130. This will remove the original code in the Org buffer, and replace it with
  131. the edited version."
  132. (interactive)
  133. (let ((line (org-current-line))
  134. (case-fold-search t)
  135. (msg (substitute-command-keys
  136. "Edit, then exit with C-c ' (C-c and single quote)"))
  137. (info (org-edit-src-find-region-and-lang))
  138. (org-mode-p (eq major-mode 'org-mode))
  139. (beg (make-marker))
  140. (end (make-marker))
  141. nindent ovl lang lang-f single lfmt code begline buffer)
  142. (if (not info)
  143. nil
  144. (setq beg (move-marker beg (nth 0 info))
  145. end (move-marker end (nth 1 info))
  146. code (buffer-substring-no-properties beg end)
  147. lang (or (cdr (assoc (nth 2 info) org-src-lang-modes))
  148. (nth 2 info))
  149. lang (if (symbolp lang) (symbol-name lang) lang)
  150. single (nth 3 info)
  151. lfmt (nth 4 info)
  152. nindent (nth 5 info)
  153. lang-f (intern (concat lang "-mode"))
  154. begline (save-excursion (goto-char beg) (org-current-line)))
  155. (unless (functionp lang-f)
  156. (error "No such language mode: %s" lang-f))
  157. (org-goto-line line)
  158. (if (and (setq buffer (org-edit-src-find-buffer beg end))
  159. (y-or-n-p "Return to existing edit buffer? [n] will revert changes: "))
  160. (switch-to-buffer buffer)
  161. (when buffer
  162. (with-current-buffer buffer
  163. (if (boundp 'org-edit-src-overlay)
  164. (org-delete-overlay org-edit-src-overlay)))
  165. (kill-buffer buffer))
  166. (setq buffer (generate-new-buffer
  167. (org-src-construct-edit-buffer-name (buffer-name) lang)))
  168. (setq ovl (org-make-overlay beg end))
  169. (org-overlay-put ovl 'face 'secondary-selection)
  170. (org-overlay-put ovl 'edit-buffer buffer)
  171. (org-overlay-put ovl 'help-echo "Click with mouse-1 to switch to buffer editing this segment")
  172. (org-overlay-put ovl 'face 'secondary-selection)
  173. (org-overlay-put ovl
  174. 'keymap
  175. (let ((map (make-sparse-keymap)))
  176. (define-key map [mouse-1] 'org-edit-src-continue)
  177. map))
  178. (org-overlay-put ovl :read-only "Leave me alone")
  179. (switch-to-buffer buffer)
  180. (insert code)
  181. (remove-text-properties (point-min) (point-max)
  182. '(display nil invisible nil intangible nil))
  183. (org-do-remove-indentation)
  184. (let ((org-inhibit-startup t))
  185. (funcall lang-f))
  186. (set (make-local-variable 'org-edit-src-force-single-line) single)
  187. (set (make-local-variable 'org-edit-src-from-org-mode) org-mode-p)
  188. (when lfmt
  189. (set (make-local-variable 'org-coderef-label-format) lfmt))
  190. (when org-mode-p
  191. (goto-char (point-min))
  192. (while (re-search-forward "^," nil t)
  193. (replace-match "")))
  194. (org-goto-line (1+ (- line begline)))
  195. (org-set-local 'org-edit-src-beg-marker beg)
  196. (org-set-local 'org-edit-src-end-marker end)
  197. (org-set-local 'org-edit-src-overlay ovl)
  198. (org-set-local 'org-edit-src-nindent nindent)
  199. (org-src-mode)
  200. (set-buffer-modified-p nil)
  201. (and org-edit-src-persistent-message
  202. (org-set-local 'header-line-format msg)))
  203. (message "%s" msg)
  204. t)))
  205. (defun org-edit-src-continue (e)
  206. (interactive "e")
  207. (mouse-set-point e)
  208. (let ((buf (get-char-property (point) 'edit-buffer)))
  209. (if buf (switch-to-buffer buf)
  210. (error "Something is wrong here"))))
  211. (defun org-src-construct-edit-buffer-name (org-buffer-name lang)
  212. "Construct the buffer name for a source editing buffer"
  213. (concat "*Org Src " org-buffer-name "[ " lang " ]*"))
  214. (defun org-edit-src-find-buffer (beg end)
  215. "Find a source editing buffer that is already editing the region BEG to END."
  216. (catch 'exit
  217. (mapc
  218. (lambda (b)
  219. (with-current-buffer b
  220. (if (and (string-match "\\`*Org Src " (buffer-name))
  221. (local-variable-p 'org-edit-src-beg-marker (current-buffer))
  222. (local-variable-p 'org-edit-src-end-marker (current-buffer))
  223. (equal beg org-edit-src-beg-marker)
  224. (equal end org-edit-src-end-marker))
  225. (throw 'exit (current-buffer)))))
  226. (buffer-list))
  227. nil))
  228. (defun org-edit-fixed-width-region ()
  229. "Edit the fixed-width ascii drawing at point.
  230. This must be a region where each line starts with a colon followed by
  231. a space character.
  232. An new buffer is created and the fixed-width region is copied into it,
  233. and the buffer is switched into `artist-mode' for editing. When done,
  234. exit with \\[org-edit-src-exit]. The edited text will then replace
  235. the fragment in the Org-mode buffer."
  236. (interactive)
  237. (let ((line (org-current-line))
  238. (case-fold-search t)
  239. (msg (substitute-command-keys
  240. "Edit, then exit with C-c ' (C-c and single quote)"))
  241. (org-mode-p (eq major-mode 'org-mode))
  242. (beg (make-marker))
  243. (end (make-marker))
  244. nindent ovl beg1 end1 code begline buffer)
  245. (beginning-of-line 1)
  246. (if (looking-at "[ \t]*[^:\n \t]")
  247. nil
  248. (if (looking-at "[ \t]*\\(\n\\|\\'\\)")
  249. (setq beg1 (point) end1 beg1)
  250. (save-excursion
  251. (if (re-search-backward "^[ \t]*[^: \t]" nil 'move)
  252. (setq beg1 (point-at-bol 2))
  253. (setq beg1 (point))))
  254. (save-excursion
  255. (if (re-search-forward "^[ \t]*[^: \t]" nil 'move)
  256. (setq end1 (1- (match-beginning 0)))
  257. (setq end1 (point))))
  258. (org-goto-line line))
  259. (setq beg (move-marker beg beg1)
  260. end (move-marker end end1)
  261. code (buffer-substring-no-properties beg end)
  262. begline (save-excursion (goto-char beg) (org-current-line)))
  263. (if (and (setq buffer (org-edit-src-find-buffer beg end))
  264. (y-or-n-p "Return to existing edit buffer? [n] will revert changes: "))
  265. (switch-to-buffer buffer)
  266. (when buffer
  267. (with-current-buffer buffer
  268. (if (boundp 'org-edit-src-overlay)
  269. (org-delete-overlay org-edit-src-overlay)))
  270. (kill-buffer buffer))
  271. (setq buffer (generate-new-buffer
  272. (org-src-construct-edit-buffer-name
  273. (buffer-name) "Fixed Width")))
  274. (setq ovl (org-make-overlay beg end))
  275. (org-overlay-put ovl 'face 'secondary-selection)
  276. (org-overlay-put ovl 'edit-buffer buffer)
  277. (org-overlay-put ovl 'help-echo "Click with mouse-1 to switch to buffer editing this segment")
  278. (org-overlay-put ovl 'face 'secondary-selection)
  279. (org-overlay-put ovl
  280. 'keymap
  281. (let ((map (make-sparse-keymap)))
  282. (define-key map [mouse-1] 'org-edit-src-continue)
  283. map))
  284. (org-overlay-put ovl :read-only "Leave me alone")
  285. (switch-to-buffer buffer)
  286. (insert code)
  287. (remove-text-properties (point-min) (point-max)
  288. '(display nil invisible nil intangible nil))
  289. (setq nindent (org-do-remove-indentation))
  290. (cond
  291. ((eq org-edit-fixed-width-region-mode 'artist-mode)
  292. (fundamental-mode)
  293. (artist-mode 1))
  294. (t (funcall org-edit-fixed-width-region-mode)))
  295. (set (make-local-variable 'org-edit-src-force-single-line) nil)
  296. (set (make-local-variable 'org-edit-src-from-org-mode) org-mode-p)
  297. (set (make-local-variable 'org-edit-src-picture) t)
  298. (goto-char (point-min))
  299. (while (re-search-forward "^[ \t]*: ?" nil t)
  300. (replace-match ""))
  301. (org-goto-line (1+ (- line begline)))
  302. (org-set-local 'org-edit-src-beg-marker beg)
  303. (org-set-local 'org-edit-src-end-marker end)
  304. (org-set-local 'org-edit-src-overlay ovl)
  305. (org-set-local 'org-edit-src-nindent nindent)
  306. (org-src-mode)
  307. (set-buffer-modified-p nil)
  308. (and org-edit-src-persistent-message
  309. (org-set-local 'header-line-format msg)))
  310. (message "%s" msg)
  311. t)))
  312. (defun org-edit-src-find-region-and-lang ()
  313. "Find the region and language for a local edit.
  314. Return a list with beginning and end of the region, a string representing
  315. the language, a switch telling of the content should be in a single line."
  316. (let ((re-list
  317. (append
  318. org-edit-src-region-extra
  319. '(
  320. ("<src\\>[^<]*>[ \t]*\n?" "\n?[ \t]*</src>" lang)
  321. ("<literal\\>[^<]*>[ \t]*\n?" "\n?[ \t]*</literal>" style)
  322. ("<example>[ \t]*\n?" "\n?[ \t]*</example>" "fundamental")
  323. ("<lisp>[ \t]*\n?" "\n?[ \t]*</lisp>" "emacs-lisp")
  324. ("<perl>[ \t]*\n?" "\n?[ \t]*</perl>" "perl")
  325. ("<python>[ \t]*\n?" "\n?[ \t]*</python>" "python")
  326. ("<ruby>[ \t]*\n?" "\n?[ \t]*</ruby>" "ruby")
  327. ("^[ \t]*#\\+begin_src\\( \\([^ \t\n]+\\)\\)?.*\n" "\n[ \t]*#\\+end_src" 2)
  328. ("^[ \t]*#\\+begin_example.*\n" "\n[ \t]*#\\+end_example" "fundamental")
  329. ("^[ \t]*#\\+html:" "\n" "html" single-line)
  330. ("^[ \t]*#\\+begin_html.*\n" "\n[ \t]*#\\+end_html" "html")
  331. ("^[ \t]*#\\+latex:" "\n" "latex" single-line)
  332. ("^[ \t]*#\\+begin_latex.*\n" "\n[ \t]*#\\+end_latex" "latex")
  333. ("^[ \t]*#\\+ascii:" "\n" "fundamental" single-line)
  334. ("^[ \t]*#\\+begin_ascii.*\n" "\n[ \t]*#\\+end_ascii" "fundamental")
  335. ("^[ \t]*#\\+docbook:" "\n" "xml" single-line)
  336. ("^[ \t]*#\\+begin_docbook.*\n" "\n[ \t]*#\\+end_docbook" "xml")
  337. )))
  338. (pos (point))
  339. re1 re2 single beg end lang lfmt match-re1 ind entry)
  340. (catch 'exit
  341. (while (setq entry (pop re-list))
  342. (setq re1 (car entry) re2 (nth 1 entry) lang (nth 2 entry)
  343. single (nth 3 entry))
  344. (save-excursion
  345. (if (or (looking-at re1)
  346. (re-search-backward re1 nil t))
  347. (progn
  348. (setq match-re1 (match-string 0))
  349. (setq beg (match-end 0)
  350. lang (org-edit-src-get-lang lang)
  351. lfmt (org-edit-src-get-label-format match-re1)
  352. ind (org-edit-src-get-indentation (match-beginning 0)))
  353. (if (and (re-search-forward re2 nil t)
  354. (>= (match-end 0) pos))
  355. (throw 'exit (list beg (match-beginning 0)
  356. lang single lfmt ind))))
  357. (if (or (looking-at re2)
  358. (re-search-forward re2 nil t))
  359. (progn
  360. (setq end (match-beginning 0))
  361. (if (and (re-search-backward re1 nil t)
  362. (<= (match-beginning 0) pos))
  363. (progn
  364. (setq lfmt (org-edit-src-get-label-format
  365. (match-string 0))
  366. ind (org-edit-src-get-indentation
  367. (match-beginning 0)))
  368. (throw 'exit
  369. (list (match-end 0) end
  370. (org-edit-src-get-lang lang)
  371. single lfmt ind))))))))))))
  372. (defun org-edit-src-get-lang (lang)
  373. "Extract the src language."
  374. (let ((m (match-string 0)))
  375. (cond
  376. ((stringp lang) lang)
  377. ((integerp lang) (match-string lang))
  378. ((and (eq lang 'lang)
  379. (string-match "\\<lang=\"\\([^ \t\n\"]+\\)\"" m))
  380. (match-string 1 m))
  381. ((and (eq lang 'style)
  382. (string-match "\\<style=\"\\([^ \t\n\"]+\\)\"" m))
  383. (match-string 1 m))
  384. (t "fundamental"))))
  385. (defun org-edit-src-get-label-format (s)
  386. "Extract the label format."
  387. (save-match-data
  388. (if (string-match "-l[ \t]+\\\\?\"\\([^\t\r\n\"]+\\)\\\\?\"" s)
  389. (match-string 1 s))))
  390. (defun org-edit-src-get-indentation (pos)
  391. "Extract the label format."
  392. (save-match-data
  393. (goto-char pos)
  394. (org-get-indentation)))
  395. (defun org-edit-src-exit ()
  396. "Exit special edit and protect problematic lines."
  397. (interactive)
  398. (unless org-edit-src-from-org-mode
  399. (error "This is not a sub-editing buffer, something is wrong..."))
  400. (let ((beg org-edit-src-beg-marker)
  401. (end org-edit-src-end-marker)
  402. (ovl org-edit-src-overlay)
  403. (buffer (current-buffer))
  404. (nindent org-edit-src-nindent)
  405. code line)
  406. (untabify (point-min) (point-max))
  407. (save-excursion
  408. (goto-char (point-min))
  409. (if (looking-at "[ \t\n]*\n") (replace-match ""))
  410. (if (re-search-forward "\n[ \t\n]*\\'" nil t) (replace-match "")))
  411. (setq line (if (org-bound-and-true-p org-edit-src-force-single-line)
  412. 1
  413. (org-current-line)))
  414. (when (org-bound-and-true-p org-edit-src-force-single-line)
  415. (goto-char (point-min))
  416. (while (re-search-forward "\n" nil t)
  417. (replace-match " "))
  418. (goto-char (point-min))
  419. (if (looking-at "\\s-*") (replace-match " "))
  420. (if (re-search-forward "\\s-+\\'" nil t)
  421. (replace-match "")))
  422. (when (org-bound-and-true-p org-edit-src-from-org-mode)
  423. (goto-char (point-min))
  424. (while (re-search-forward
  425. (if (org-mode-p) "^\\(.\\)" "^\\([*]\\|[ \t]*#\\+\\)") nil t)
  426. (replace-match ",\\1")))
  427. (when (org-bound-and-true-p org-edit-src-picture)
  428. (untabify (point-min) (point-max))
  429. (goto-char (point-min))
  430. (while (re-search-forward "^" nil t)
  431. (replace-match ": ")))
  432. (when nindent
  433. (setq nindent (make-string (+ org-edit-src-content-indentation nindent)
  434. ?\ ))
  435. (goto-char (point-min))
  436. (while (re-search-forward "^" nil t)
  437. (replace-match nindent)))
  438. (setq code (buffer-string))
  439. (set-buffer-modified-p nil)
  440. (switch-to-buffer (marker-buffer beg))
  441. (kill-buffer buffer)
  442. (goto-char beg)
  443. (delete-region beg end)
  444. (insert code)
  445. (goto-char beg)
  446. (org-goto-line (1- (+ (org-current-line) line)))
  447. (move-marker beg nil)
  448. (move-marker end nil)))
  449. (defun org-edit-src-save ()
  450. "Save parent buffer with current state source-code buffer."
  451. (interactive)
  452. (save-window-excursion
  453. (let ((p (point)) (m (mark)) msg)
  454. (org-edit-src-exit)
  455. (save-buffer)
  456. (setq msg (current-message))
  457. (org-edit-src-code)
  458. (push-mark m 'nomessage)
  459. (goto-char (min p (point-max)))
  460. (message (or msg "")))))
  461. (defun org-src-mode-configure-edit-buffer ()
  462. (when org-edit-src-from-org-mode
  463. (setq buffer-offer-save t)
  464. (setq buffer-file-name
  465. (concat (buffer-file-name (marker-buffer org-edit-src-beg-marker))
  466. "[" (buffer-name) "]"))
  467. (set (if (featurep 'xemacs) 'write-contents-hooks 'write-contents-functions)
  468. '(org-edit-src-save))
  469. (org-add-hook 'kill-buffer-hook
  470. '(lambda () (org-delete-overlay org-edit-src-overlay)) nil 'local)))
  471. (org-add-hook 'org-src-mode-hook 'org-src-mode-configure-edit-buffer)
  472. (provide 'org-src)
  473. ;; arch-tag: 6a1fc84f-dec7-47be-a416-64be56bea5d8
  474. ;;; org-src.el ends here