summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormattkae <mattkae@protonmail.com>2023-03-27 21:33:20 -0400
committermattkae <mattkae@protonmail.com>2023-03-27 21:33:20 -0400
commit01756486d650c3945f7f964313c4eb13ac700746 (patch)
treeb09415e45281adc695093f4f953991c836ec268a
parent8a9b9d83d17ccd59bbefe2da3cd2e79c0d363025 (diff)
Fix for mistaken org directory and cpp styles
-rw-r--r--.gitignore3
-rw-r--r--examples/test.cpp1
-rw-r--r--init.el28
-rw-r--r--lisp/cpp.el3
4 files changed, 6 insertions, 29 deletions
diff --git a/.gitignore b/.gitignore
index eb0560b..47d282f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,4 +16,5 @@ tutorial
.cache
.org-id-locations
org-roam.db
-bookmarks \ No newline at end of file
+bookmarks
+tramp \ No newline at end of file
diff --git a/examples/test.cpp b/examples/test.cpp
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/examples/test.cpp
@@ -0,0 +1 @@
+
diff --git a/init.el b/init.el
index 445f0bc..22df99f 100644
--- a/init.el
+++ b/init.el
@@ -54,34 +54,6 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
- '(org-agenda-files (list org-directory))
- '(org-directory "~/OrgRoam")
'(package-selected-packages
'(magit rust-mode xref-js2 web-mode vterm-toggle vscode-dark-plus-theme treemacs-projectile tree-sitter-langs tide tern smartparens rtags req-package rainbow-mode pythonic python-mode perfect-margin org-roam org-notify org-modern org-bullets org-alert minimap markdown-mode json-mode js2-refactor js2-highlight-vars js-doc ido-vertical-mode hl-todo highlight-thing highlight-indent-guides helm-projectile helm-posframe helm-ag good-scroll go-mode git-gutter-fringe git-commit flycheck-irony evil eslint-fix emojify eldoc-box eglot drag-stuff doom-themes dashboard css-eldoc counsel company-quickhelp company-irony cmake-mode cmake-ide auctex all-the-icons ac-js2))
'(safe-local-variable-values '((js-indent-level . 4))))
-(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
- ;; If there is more than one, they won't work right.
- '(org-block ((t (:inherit fixed-pitch))))
- '(org-code ((t (:inherit (shadow fixed-pitch)))))
- '(org-document-info ((t (:foreground "dark orange"))))
- '(org-document-info-keyword ((t (:inherit (shadow fixed-pitch)))))
- '(org-document-title ((t (:inherit default :weight normal :foreground "#383a42" :font "Iosevka" :height 1.3 :weight:bold))))
- '(org-indent ((t (:inherit (org-hide fixed-pitch)))))
- '(org-level-1 ((t (:inherit default :weight normal :foreground "#383a42" :font "Iosevka" :height 1.5 :weight bold))))
- '(org-level-2 ((t (:inherit default :weight normal :foreground "#383a42" :font "Iosevka" :height 1.3 :weight bold))))
- '(org-level-3 ((t (:inherit default :weight normal :foreground "#383a42" :font "Iosevka" :height 1.1))))
- '(org-level-4 ((t (:inherit default :weight normal :foreground "#383a42" :font "Iosevka" :height 1.0))))
- '(org-level-5 ((t (:inherit default :weight normal :foreground "#383a42" :font "Iosevka"))))
- '(org-level-6 ((t (:inherit default :weight normal :foreground "#383a42" :font "Iosevka"))))
- '(org-level-7 ((t (:inherit default :weight normal :foreground "#383a42" :font "Iosevka"))))
- '(org-level-8 ((t (:inherit default :weight normal :foreground "#383a42" :font "Iosevka"))))
- '(org-link ((t (:foreground "royal blue" :underline t))))
- '(org-meta-line ((t (:inherit (font-lock-comment-face fixed-pitch)))))
- '(org-property-value ((t (:inherit fixed-pitch))) t)
- '(org-special-keyword ((t (:inherit (font-lock-comment-face fixed-pitch)))))
- '(org-table ((t (:inherit fixed-pitch :foreground "#83a598"))))
- '(org-tag ((t (:inherit (shadow fixed-pitch) :weight bold :height 0.8))))
- '(org-verbatim ((t (:inherit (shadow fixed-pitch))))))
diff --git a/lisp/cpp.el b/lisp/cpp.el
index 8c7b069..ab8cffc 100644
--- a/lisp/cpp.el
+++ b/lisp/cpp.el
@@ -25,5 +25,8 @@
(interactive "Enter the name of the class: ")
)
+(defun me:c-mode-config ()
+ (c-set-style "ellemtel"))
+
(provide 'cpp)
;;; cpp.el ends here