mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-11-26 07:33:39 +00:00
Merge branch 'maint'
This commit is contained in:
commit
0a7e382c27
@ -2490,7 +2490,7 @@ in the buffer."
|
||||
(if (memq (org-element-type element)
|
||||
;; Possible results types.
|
||||
'(drawer example-block export-block fixed-width item
|
||||
plain-list src-block table))
|
||||
plain-list special-block src-block table))
|
||||
(save-excursion
|
||||
(goto-char (min (point-max) ;for narrowed buffers
|
||||
(org-element-property :end element)))
|
||||
|
@ -545,6 +545,17 @@ duplicate results block."
|
||||
(org-babel-next-src-block 1)
|
||||
(should (looking-at org-babel-src-block-regexp))))
|
||||
|
||||
(ert-deftest test-ob/replace-special-block-result ()
|
||||
(should-error
|
||||
(org-test-with-temp-text "
|
||||
#+begin_src emacs-lisp :wrap special<point>
|
||||
'foo
|
||||
#+end_src"
|
||||
(org-babel-execute-src-block)
|
||||
(org-babel-execute-src-block)
|
||||
(buffer-string)
|
||||
(search-forward "#+begin_special" nil nil 2))))
|
||||
|
||||
(ert-deftest test-ob/catches-all-references ()
|
||||
(org-test-with-temp-text "
|
||||
#+NAME: literal-example
|
||||
|
Loading…
Reference in New Issue
Block a user