forked from mirrors/org-mode
lisp/org-src.el: Suppress compiler warnings for obsolete code
* lisp/org-src.el (org-src-babel-configure-edit-buffer): (add-hook): Suppress obsolete call warning - this code is also obsolete and is to be removed in future.
This commit is contained in:
parent
a8a0a45d24
commit
3b71939903
|
@ -936,9 +936,15 @@ INFO should be a list similar in format to the return value of
|
|||
(defun org-src-babel-configure-edit-buffer ()
|
||||
"Configure src editing buffer."
|
||||
(when org-src--babel-info
|
||||
(org-src-associate-babel-session org-src--babel-info)))
|
||||
(with-no-warnings
|
||||
;; FIXME: We intentionally use obsolete function. This code is
|
||||
;; to be removed later.
|
||||
(org-src-associate-babel-session org-src--babel-info))))
|
||||
|
||||
(add-hook 'org-src-mode-hook #'org-src-babel-configure-edit-buffer)
|
||||
;; FIXME: We intentionally use obsolete function. This code is
|
||||
;; to be removed later.
|
||||
(with-no-warnings
|
||||
(add-hook 'org-src-mode-hook #'org-src-babel-configure-edit-buffer))
|
||||
|
||||
|
||||
;;; Public API
|
||||
|
|
Loading…
Reference in a new issue