aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/config.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-03-25 09:57:56 +0000
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-03-25 09:57:56 +0000
commit9fad8c45f87eaba6dcd2acc0a5ef7496a41c8118 (patch)
treef69407bc1375853bc449d8530a69b245db5dd75c /Emacs/.config/emacs/config.org
parente780b1d9a55b01d116db47eb2c932c94aa11ec77 (diff)
downloaddotfiles-9fad8c45f87eaba6dcd2acc0a5ef7496a41c8118.tar.gz
dotfiles-9fad8c45f87eaba6dcd2acc0a5ef7496a41c8118.tar.bz2
dotfiles-9fad8c45f87eaba6dcd2acc0a5ef7496a41c8118.zip
(Emacs)~clean up code as a result of byte compile
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r--Emacs/.config/emacs/config.org7
1 files changed, 3 insertions, 4 deletions
diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org
index 45d59a9..e565f7d 100644
--- a/Emacs/.config/emacs/config.org
+++ b/Emacs/.config/emacs/config.org
@@ -1288,7 +1288,7 @@ calendar to the kill ring and bind it to "Y".
(when date
(setq date (encode-time 0 0 0 (nth 1 date) (nth 0 date) (nth 2 date)))
(kill-new (format-time-string "%Y-%m-%d" date))))))
- (+dx/create-toggle-function +calendar/toggle-calendar "*Calendar*" #'calendar))
+ (+dx/create-toggle-function +calendar/toggle-calendar "*Calendar*" calendar))
#+end_src
** Mail
:PROPERTIES:
@@ -2118,8 +2118,7 @@ learnt the basics of org).
:after message-mode
:config
(setq org-msg-options "html-postamble:nil H:5 num:nil ^:{} toc:nil author:nil email:nil \\n:t tex:dvipng"
- org-msg-greeting-name-limit 3
- org-msg-text-plain-alternative t)
+ org-msg-greeting-name-limit 3)
(add-to-list 'org-msg-enforce-css
'(img latex-fragment-inline
@@ -2335,7 +2334,7 @@ this.
(defun +code/clang-format-region-or-buffer ()
(interactive)
(if (mark)
- (clang-format-region)
+ (clang-format-region (region-beginning) (region-end))
(clang-format-buffer))))
#+end_src
** Java