mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 18:36:26 +00:00
DONE empty parens () not recognised as lob call
This commit is contained in:
parent
68bd53cf7c
commit
2bfa420c6a
|
@ -63,7 +63,7 @@ add files to this list use the `org-babel-lob-ingest' command."
|
|||
|
||||
;; functions for executing lob one-liners
|
||||
|
||||
(defvar org-babel-lob-one-liner-regexp "#\\+lob:[ \t]+\\([^\(\)\n]+\\)\(\\([^\n]+\\)\)[ \t]*\n")
|
||||
(defvar org-babel-lob-one-liner-regexp "#\\+lob:[ \t]+\\([^\(\)\n]+\\)\(\\([^\n]*\\)\)[ \t]*\n")
|
||||
|
||||
(defun org-babel-lob-execute-maybe ()
|
||||
"Detect if this is context for a org-babel Library Of Babel
|
||||
|
|
|
@ -2436,16 +2436,18 @@ a+b
|
|||
: 30
|
||||
|
||||
****** DONE Rely on defaults
|
||||
#+lob: adder1( )
|
||||
#+lob: adder1()
|
||||
|
||||
#+resname: adder1( )
|
||||
#+resname: adder1()
|
||||
: 30
|
||||
|
||||
## should be 30
|
||||
## OK, but
|
||||
******* TODO empty parens () not recognised as lob call
|
||||
******* DONE empty parens () not recognised as lob call
|
||||
E.g. remove spaces between parens above
|
||||
|
||||
updated [[file:lisp/org-babel-lob.el::defvar%20org%20babel%20lob%20one%20liner%20regexp%20lob%20t%20n%20n%20t%20n][org-babel-lob-one-liner-regexp]]
|
||||
|
||||
****** TODO One supplied, one default
|
||||
#+lob: adder1(a=0)
|
||||
|
||||
|
|
Loading…
Reference in a new issue