diff --git a/home-manager/programs/emacs/elisp/init.org b/home-manager/programs/emacs/elisp/init.org index 6db10c0..ffcfcea 100644 --- a/home-manager/programs/emacs/elisp/init.org +++ b/home-manager/programs/emacs/elisp/init.org @@ -883,6 +883,12 @@ (add-to-list 'auto-mode-alist '("\\.po$" . po-mode)) #+END_SRC +** prolog +#+begin_src emacs-lisp :tangle yes + (autoload-if-found '(prolog-mode) "prolog-mode" nil t) + + (add-to-list 'auto-mode-alist '("\\.pl$" . prolog-mode)) +#+end_src ** protobuf-mode #+begin_src emacs-lisp :tangle yes (autoload-if-found '(protobuf-mode) "protobuf-mode" nil t) @@ -4594,6 +4600,13 @@ https://github.com/ch11ng/exwm/wiki#gpg-pinentry (with-eval-after-load 'org-src (add-to-list 'org-src-lang-modes '("racket" . racket))) #+end_src +*** ob-prolog +#+begin_src emacs-lisp :tangle yes + (autoload-if-found '(org-babel-execute:prolog) "ob-prolog" nil t) + + (with-eval-after-load 'org-src + (add-to-list 'org-src-lang-modes '("prolog" . pl))) +#+end_src *** org-nix-shell #+begin_src emacs-lisp :tangle yes (autoload-if-found '(org-nix-shell-mode) "org-nix-shell" nil t) diff --git a/home-manager/programs/emacs/epkgs/packages/org/default.nix b/home-manager/programs/emacs/epkgs/packages/org/default.nix index 739dbe0..e88bac9 100644 --- a/home-manager/programs/emacs/epkgs/packages/org/default.nix +++ b/home-manager/programs/emacs/epkgs/packages/org/default.nix @@ -58,6 +58,7 @@ with epkgs; packages.ob-treesitter packages.ob-racket ob-base64 + ob-prolog org-nix-shell # Org Publish