pkg update and first config fix
org-brain not working, add org-roam
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
;;; ob-C.el --- Babel Functions for C and Similar Languages -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2010-2021 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2010-2022 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Eric Schulte
|
||||
;; Thierry Banel
|
||||
;; Maintainer: Thierry Banel
|
||||
;; Maintainer: Thierry Banel <tbanelwebmin@free.fr>
|
||||
;; Keywords: literate programming, reproducible research
|
||||
;; Homepage: https://orgmode.org
|
||||
;; URL: https://orgmode.org
|
||||
|
||||
;; This file is part of GNU Emacs.
|
||||
|
||||
@@ -33,6 +33,9 @@
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'org-macs)
|
||||
(org-assert-version)
|
||||
|
||||
(require 'cc-mode)
|
||||
(require 'ob)
|
||||
(require 'org-macs)
|
||||
@@ -182,7 +185,7 @@ or `org-babel-execute:C++' or `org-babel-execute:D'."
|
||||
(setq results (org-remove-indentation results))
|
||||
(org-babel-reassemble-table
|
||||
(org-babel-result-cond (cdr (assq :result-params params))
|
||||
(org-babel-read results t)
|
||||
results
|
||||
(let ((tmp-file (org-babel-temp-file "c-")))
|
||||
(with-temp-file tmp-file (insert results))
|
||||
(org-babel-import-elisp-from-file tmp-file)))
|
||||
|
||||
Reference in New Issue
Block a user