purcell / emacs.d

An Emacs configuration bundle with batteries included
BSD 2-Clause "Simplified" License
6.85k stars 2.05k forks source link

about:init-org.el #824

Closed xiliuya closed 1 year ago

xiliuya commented 1 year ago

GNU Emacs 28.2

in line 365 When I restart emacs and execute the following code C-x C-e, the output is: ((emacs lisp. t))and org-babel-load-languages value is ((emacs-lisp . t)) but after run: C-h v org-babel-load-languages output:will be: ((R . t) (ditaa . t) (dot . t) (emacs-lisp . t) (gnuplot . t) (haskell) (latex . t) (ocaml) (octave . t) (plantuml . t) (python . t) (ruby . t) ...

How can I open the emacs org file org-babel-load-languages with a value of ((R. t) (ditaa. t) (dot. t) (emacs lisp. t) (gnuplot. t) (haskell) (latex. t) (ocaml) (octave. t) (plantuml. t) (python. t) (ruby. t)?

(seq-filter (lambda (pair) (featurep (intern (concat "ob-" (symbol-name (car pair)))))) '((R . t) (ditaa . t) (dot . t) (emacs-lisp . t) (gnuplot . t) (haskell . nil) (latex . t) (ledger . t) (ocaml . nil) (octave . t) (plantuml . t) (python . t) (ruby . t) (screen . nil) (sh . t) ;; obsolete (shell . t) (sql . t) (sqlite . t)))

purcell commented 1 year ago

Does aeb16fe help?

xiliuya commented 1 year ago

Does aeb16fe help?

yes ,it works. Thank you very much for your help.