diff options
author | Marco Wahl <marcowahlsoft@gmail.com> | 2016-09-05 11:11:27 +0200 |
---|---|---|
committer | Marco Wahl <marcowahlsoft@gmail.com> | 2016-09-14 11:54:01 +0200 |
commit | f61bf8483685300dffd79a2a1e8ace4b67240dde (patch) | |
tree | a31e0bb9ae3397057006c7263c394efd993bf858 | |
parent | bb91f138b91aa7612f59493dc46ff27216af1f74 (diff) | |
download | org-mode-f61bf8483685300dffd79a2a1e8ace4b67240dde.tar.gz |
ob-J: allow also letter 'j' indicate J code
* lisp/ob-J.el (org-babel-execute:j): Make `org-babel-execute:j' an
alias of `org-babel-execute:J'. This allows to use the letter
'j' (and not only 'J') to identify the J-language for a source-block.
Note: The source-block marked with 'j' gets the highlighting
according j-mode.
-rw-r--r-- | lisp/ob-J.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/ob-J.el b/lisp/ob-J.el index 408aea3..c76b03a 100644 --- a/lisp/ob-J.el +++ b/lisp/ob-J.el @@ -66,6 +66,8 @@ PROCESSED-PARAMS isn't used yet." (org-babel-J-interleave-echos-except-functions s3))) (org-babel-J-interleave-echos body))) +(defalias 'org-babel-execute:j 'org-babel-execute:J) + (defun org-babel-execute:J (body params) "Execute a block of J code BODY. PARAMS are given by org-babel. |