diff options
author | Philipp Stephani <phst@google.com> | 2017-05-06 19:16:49 +0200 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2017-05-15 00:02:53 -0400 |
commit | 5eeccc7230f2088f142ca3d30883afe844ac1727 (patch) | |
tree | 0108f01f6df241cdc02a333f303b3660b9040504 | |
parent | 93e5d92383a9935160903d9da57f0bf33bc065ed (diff) | |
download | org-mode-5eeccc7230f2088f142ca3d30883afe844ac1727.tar.gz |
Backport commit 3c4c8ca06 from Emacs
* lisp/ob-ref.el (org-babel-ref-resolve): Fix unescaped character
literal.
Fix all unescaped character literals
3c4c8ca06e3306ccbcd07e354eb51abe53b52d22
Philipp Stephani
Sun May 7 13:22:34 2017 +0200
-rw-r--r-- | lisp/ob-ref.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ob-ref.el b/lisp/ob-ref.el index f30f49b..f8b9ea4 100644 --- a/lisp/ob-ref.el +++ b/lisp/ob-ref.el @@ -131,7 +131,7 @@ the variable." ;; if ref is indexed grab the indices -- beware nested indices (when (and (string-match "\\[\\([^\\[]+\\)\\]$" ref) (let ((str (substring ref 0 (match-beginning 0)))) - (= (cl-count ?( str) (cl-count ?) str)))) + (= (cl-count ?\( str) (cl-count ?\) str)))) (setq index (match-string 1 ref)) (setq ref (substring ref 0 (match-beginning 0)))) ;; assign any arguments to pass to source block |