From ded368b5115a5d78202b110f8e3e0609eba35222 Mon Sep 17 00:00:00 2001 From: PHO Date: Sun, 15 Sep 2019 21:12:30 +0900 Subject: [PATCH] Auto commit by The Sugar System. --- dot-files/_emacs_el | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/dot-files/_emacs_el b/dot-files/_emacs_el index bdf6fd1..d6b045f 100644 --- a/dot-files/_emacs_el +++ b/dot-files/_emacs_el @@ -163,6 +163,8 @@ ;; session (require-if-present 'session) +(if (featurep 'session) + (session-initialize)) ;; mediawiki (require-if-present 'mediawiki) @@ -420,21 +422,23 @@ Will prompt you shell name when you type `C-u' before this command." t) (setq erlang-electric-commands nil) ;; SKK -(require 'skk-autoloads) -(require 'skk-study) -(global-set-key "\C-x\C-j" 'skk-mode) -(global-set-key "\C-xj" 'skk-auto-fill-mode) -(global-set-key "\C-xt" 'skk-tutorial) -(setq skk-use-jisx0201-input-method t) -(setq skk-rom-kana-rule-list - '(("@" nil "@") - ("wi" nil ("ヰ" . "ゐ")) - ("we" nil ("ヱ" . "ゑ")) - ;;("hh" "h" ("ン" . "ん")) - ;;("mm" "m" ("ン" . "ん")) - ("zx" nil ("ゝ" . "ヽ")) - ("zc" nil ("ゞ" . "ヾ")))) -(set-input-method 'japanese-skk) ; INPUT METHOD +(require-if-present 'skk-autoloads) +(if (featurep 'skk-autoloads) + (progn + (require-if-present 'skk-study) + (global-set-key "\C-x\C-j" 'skk-mode) + (global-set-key "\C-xj" 'skk-auto-fill-mode) + (global-set-key "\C-xt" 'skk-tutorial) + (setq skk-use-jisx0201-input-method t) + (setq skk-rom-kana-rule-list + '(("@" nil "@") + ("wi" nil ("ヰ" . "ゐ")) + ("we" nil ("ヱ" . "ゑ")) + ;;("hh" "h" ("ン" . "ん")) + ;;("mm" "m" ("ン" . "ん")) + ("zx" nil ("ゝ" . "ヽ")) + ("zc" nil ("ゞ" . "ヾ")))) + (set-input-method 'japanese-skk))) ; INPUT METHOD ;; navi2ch (autoload 'navi2ch "navi2ch" "Navigator for 2ch for Emacs" t) @@ -690,6 +694,7 @@ Will prompt you shell name when you type `C-u' before this command." t) '(newsticker-url-list-defaults (quote (("slashdot" "http://slashdot.org/index.rss" nil 3600)))) + '(ns-command-modifier (quote meta)) '(nxml-auto-insert-xml-declaration-flag t) '(nxml-slash-auto-complete-flag t) '(org-replace-disputed-keys t) @@ -713,8 +718,7 @@ Will prompt you shell name when you type `C-u' before this command." t) '(rst-level-face-base-light 50) '(safe-local-variable-values (quote ((todo-categories "Todo" "Todo" "Todo" "Todo")))) '(select-enable-clipboard t) - '(session-use-package t nil (session)) - '(tramp-auto-save-directory "/tmp/tramp-auto-save" nil (tramp)) + '(tramp-auto-save-directory "/tmp/tramp-auto-save") '(tramp-completion-reread-directory-timeout 2 nil (tramp)) '(tramp-default-host "localhost" nil (tramp)) '(tramp-default-method "sshx" nil (tramp)) -- 2.40.0