(Emacs)~clean up code as a result of byte compile
This commit is contained in:
@@ -1288,7 +1288,7 @@ calendar to the kill ring and bind it to "Y".
|
|||||||
(when date
|
(when date
|
||||||
(setq date (encode-time 0 0 0 (nth 1 date) (nth 0 date) (nth 2 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))))))
|
(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
|
#+end_src
|
||||||
** Mail
|
** Mail
|
||||||
:PROPERTIES:
|
:PROPERTIES:
|
||||||
@@ -2118,8 +2118,7 @@ learnt the basics of org).
|
|||||||
:after message-mode
|
:after message-mode
|
||||||
:config
|
:config
|
||||||
(setq org-msg-options "html-postamble:nil H:5 num:nil ^:{} toc:nil author:nil email:nil \\n:t tex:dvipng"
|
(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-greeting-name-limit 3)
|
||||||
org-msg-text-plain-alternative t)
|
|
||||||
|
|
||||||
(add-to-list 'org-msg-enforce-css
|
(add-to-list 'org-msg-enforce-css
|
||||||
'(img latex-fragment-inline
|
'(img latex-fragment-inline
|
||||||
@@ -2335,7 +2334,7 @@ this.
|
|||||||
(defun +code/clang-format-region-or-buffer ()
|
(defun +code/clang-format-region-or-buffer ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(if (mark)
|
(if (mark)
|
||||||
(clang-format-region)
|
(clang-format-region (region-beginning) (region-end))
|
||||||
(clang-format-buffer))))
|
(clang-format-buffer))))
|
||||||
#+end_src
|
#+end_src
|
||||||
** Java
|
** Java
|
||||||
|
|||||||
Reference in New Issue
Block a user