소스 검색

A neutral bug (unnecessary, but no consequences I believe).

Dan Davison 16 년 전
부모
커밋
a0e0fe17f4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lisp/org-babel-ref.el

+ 1 - 1
lisp/org-babel-ref.el

@@ -115,7 +115,7 @@ return nil."
                 (re-search-backward regexp nil t)
                 ;; check the Library of Babel
                 (setq lob-info (cdr (assoc (intern ref) org-babel-library-of-babel)))))
-          (goto-char (match-beginning 0))
+          (unless lob-info (goto-char (match-beginning 0)))
         ;; ;; TODO: allow searching for names in other buffers
         ;; (setq id-loc (org-id-find ref 'marker)
         ;;       buffer (marker-buffer id-loc)