(Emacs)~small changes

This commit is contained in:
2023-09-10 03:42:24 +01:00
parent 11613aa005
commit c2af358cde

View File

@@ -700,7 +700,7 @@ selection list).
:keymaps '(ivy-occur-mode-map ivy-occur-grep-mode-map) :keymaps '(ivy-occur-mode-map ivy-occur-grep-mode-map)
"RET" #'ivy-occur-press-and-switch "RET" #'ivy-occur-press-and-switch
"J" #'ivy-occur-press "J" #'ivy-occur-press
"g" #'ivy-occur-revert-buffer "gr" #'ivy-occur-revert-buffer
"q" #'quit-window "q" #'quit-window
"D" #'ivy-occur-delete-candidate "D" #'ivy-occur-delete-candidate
"W" #'ivy-wgrep-change-to-wgrep-mode "W" #'ivy-wgrep-change-to-wgrep-mode
@@ -3134,13 +3134,15 @@ format [[file:~/Dotfiles/ClangFormat/.clang-format][config file]] in my dotfiles
(clang-format-buffer)))) (clang-format-buffer))))
#+end_src #+end_src
*** cc org babel *** cc org babel
To ensure org-babel executes language blocks of C/C++ I need to add it To ensure org-babel executes language blocks of C/C++, I need to load
as an option in ~org-babel-load-languages~. it as an option in ~org-babel-load-languages~.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package org (use-package org
:after cc-mode :after cc-mode
:init :init
(setf (alist-get 'C org-babel-load-languages) t)) (org-babel-do-load-languages
'org-babel-load-languages
'((C . t))))
#+end_src #+end_src
** D ** D
D is a systems level programming language with C-style syntax. I D is a systems level programming language with C-style syntax. I