소스 검색

ob.el now adds the lisp/langs/ directory to the load path

Eric Schulte 15 년 전
부모
커밋
904bdaff9a
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      lisp/babel/ob.el

+ 6 - 0
lisp/babel/ob.el

@@ -31,6 +31,12 @@
 ;;; Code:
 (require 'org)
 
+;; add the langs/ directory to the load path
+(add-to-list 'load-path (expand-file-name
+			 "langs"
+			 (file-name-directory (or (buffer-file-name)
+						  load-file-name))))
+
 (defun org-babel-execute-src-block-maybe ()
   "Detect if this is context for a org-babel src-block and if so
 then run `org-babel-execute-src-block'."