Skip to content

Commit

Permalink
Fix warings on Emacs 30
Browse files Browse the repository at this point in the history
  • Loading branch information
nanasess committed Sep 21, 2024
1 parent 9dde367 commit 94ddb1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
10 changes: 1 addition & 9 deletions .emacs.d/.mew.d/.mew.el
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@
;; '("Text/Html" "Text/Plain" ".*"))

;; 起動時に自動取得しない
;(setq mew-auto-get nil)
(setq mew-auto-get nil)

(setq mew-thread-indent-strings [" +" " +" " |" " "])
(setq mew-mailbox-type 'mbox)
(setq mew-mbox-command "incm")
(setq mew-mbox-command-arg "-u -d $HOME/Maildir")
Expand All @@ -75,10 +74,3 @@
(dnd-handle-one-url (get-buffer-window)
'copy
(concat "file://" f)))))

;; See Also.
;; http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9610#31
(add-hook 'mew-summary-mode-hook
'(lambda ()
(setq bidi-paragraph-direction 'left-to-right)))
;; http://www.mew.org/pipermail/mew-dist/2012-June/029210.html
16 changes: 1 addition & 15 deletions .emacs.d/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
(defvar user-bin-directory (locate-user-emacs-file "bin/"))
(defvar external-directory (expand-file-name "~/OneDrive - Skirnir Inc/emacs/"))
(defvar openweathermap-api-key nil)
(setq debug-on-error t)

(setopt el-get-bundle-sync t
el-get-is-lazy t
Expand Down Expand Up @@ -292,21 +293,6 @@
(setq whitespace-display-mappings nil)
(setq whitespace-trailing-regexp "\\([ \u00A0]+\\)$")
(setq whitespace-space-regexp "\\(\u3000+\\)")

(set-face-attribute 'whitespace-trailing nil
:foreground nil
:background "#FDF6E3"
:underline t)
(set-face-attribute 'whitespace-tab nil
;; base4
:foreground "#E1DBCD"
:background "#E1DBCD"
:underline nil)
(set-face-attribute 'whitespace-space nil
;; base5
:foreground "#D6D6D6"
:background "#D6D6D6"
:underline nil)
(setq whitespace-global-modes
'(not dired-mode tar-mode magit-log-mode magit-diff-mode mew-draft-mode))
(global-whitespace-mode t)
Expand Down

0 comments on commit 94ddb1d

Please sign in to comment.