diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-09-10 03:42:24 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-09-10 03:42:24 +0100 |
commit | c2af358cde2d4cc9bc2d145e49024efa5747dfd1 (patch) | |
tree | 962c9eef1a22e67092e77d87b4dc0efe46a318ad | |
parent | 11613aa00566f215ce82d8cb676b54d6a81b229e (diff) | |
download | dotfiles-c2af358cde2d4cc9bc2d145e49024efa5747dfd1.tar.gz dotfiles-c2af358cde2d4cc9bc2d145e49024efa5747dfd1.tar.bz2 dotfiles-c2af358cde2d4cc9bc2d145e49024efa5747dfd1.zip |
(Emacs)~small changes
-rw-r--r-- | Emacs/.config/emacs/config.org | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 51bad39..db8d09d 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -700,7 +700,7 @@ selection list). :keymaps '(ivy-occur-mode-map ivy-occur-grep-mode-map) "RET" #'ivy-occur-press-and-switch "J" #'ivy-occur-press - "g" #'ivy-occur-revert-buffer + "gr" #'ivy-occur-revert-buffer "q" #'quit-window "D" #'ivy-occur-delete-candidate "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)))) #+end_src *** cc org babel -To ensure org-babel executes language blocks of C/C++ I need to add it -as an option in ~org-babel-load-languages~. +To ensure org-babel executes language blocks of C/C++, I need to load +it as an option in ~org-babel-load-languages~. #+begin_src emacs-lisp (use-package org :after cc-mode :init - (setf (alist-get 'C org-babel-load-languages) t)) + (org-babel-do-load-languages + 'org-babel-load-languages + '((C . t)))) #+end_src ** D D is a systems level programming language with C-style syntax. I |