From 2993576582fc282e757cb61774348d63888a43a5 Mon Sep 17 00:00:00 2001 From: nukosuke Date: Wed, 26 Feb 2020 11:52:52 +0900 Subject: [PATCH] Fix autoload error Cannot open load file: No such file or directory, skk-autoloads --- bayesian/skk-bayesian.el | 3 ++- context-skk.el | 3 ++- skk-act.el | 3 ++- skk-annotation.el | 3 ++- skk-auto.el | 3 ++- skk-azik.el | 3 ++- skk-cdb.el | 5 ++++- skk-comp.el | 4 +++- skk-cus.el | 3 ++- skk-decor.el | 3 ++- skk-develop.el | 3 ++- skk-emacs.el | 3 ++- skk-gadget.el | 3 ++- skk-hint.el | 5 +++-- skk-isearch.el | 3 ++- skk-jisx0201.el | 3 ++- skk-jisyo-edit-mode.el | 3 ++- skk-kakasi.el | 3 ++- skk-kcode.el | 3 ++- skk-leim.el | 3 ++- skk-look.el | 3 ++- skk-lookup.el | 3 ++- skk-num.el | 3 ++- skk-show-mode.el | 3 ++- skk-sticky.el | 3 ++- skk-study.el | 3 ++- skk-tut.el | 3 ++- skk-viper.el | 3 ++- 28 files changed, 60 insertions(+), 29 deletions(-) diff --git a/bayesian/skk-bayesian.el b/bayesian/skk-bayesian.el index 5171a333..a752bd4e 100644 --- a/bayesian/skk-bayesian.el +++ b/bayesian/skk-bayesian.el @@ -89,7 +89,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-vars) (require 'skk-macs) diff --git a/context-skk.el b/context-skk.el index 32ca6d6c..9456e314 100644 --- a/context-skk.el +++ b/context-skk.el @@ -106,7 +106,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) ;; ;; Custom diff --git a/skk-act.el b/skk-act.el index b479cbba..f2728287 100644 --- a/skk-act.el +++ b/skk-act.el @@ -67,7 +67,8 @@ (require 'skk-macs) (require 'skk-vars) -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (eval-when-compile (defvar skk-jisx0201-rule-list) diff --git a/skk-annotation.el b/skk-annotation.el index af79b69f..2e8d05c1 100644 --- a/skk-annotation.el +++ b/skk-annotation.el @@ -187,7 +187,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) ;; for byte compile Warning (eval-when-compile diff --git a/skk-auto.el b/skk-auto.el index 87a8ef3a..b83dbc16 100644 --- a/skk-auto.el +++ b/skk-auto.el @@ -29,7 +29,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) diff --git a/skk-azik.el b/skk-azik.el index ef9fa31e..d3a8da34 100644 --- a/skk-azik.el +++ b/skk-azik.el @@ -57,7 +57,8 @@ (require 'skk-macs) (require 'skk-vars) -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (eval-when-compile (defvar skk-jisx0201-rule-list) diff --git a/skk-cdb.el b/skk-cdb.el index e3f774d2..431227a8 100644 --- a/skk-cdb.el +++ b/skk-cdb.el @@ -30,8 +30,11 @@ ;; (setq skk-cdb-large-jisyo "/usr/share/skk/SKK-JISYO.L.cdb") ;; +;;; Code: + (require 'cdb) -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) diff --git a/skk-comp.el b/skk-comp.el index 1baf4627..7b634f14 100644 --- a/skk-comp.el +++ b/skk-comp.el @@ -30,7 +30,9 @@ ;; ▽さ (TAB) -> ▽さとう (.) -> ▽さいとう (,) -> ▽さとう(.) -> ▽さいとう ;;; Code: -(require 'skk-autoloads) + +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) diff --git a/skk-cus.el b/skk-cus.el index 83eb9a83..6ca587bc 100644 --- a/skk-cus.el +++ b/skk-cus.el @@ -30,7 +30,8 @@ (eval-when-compile (require 'cl-lib)) -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) (require 'cus-edit) diff --git a/skk-decor.el b/skk-decor.el index 3252a8d5..c38eb5b4 100644 --- a/skk-decor.el +++ b/skk-decor.el @@ -73,7 +73,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-vars) ;; skk-show-inline 'vertical に限ってフェイスを作用させる. diff --git a/skk-develop.el b/skk-develop.el index bf0ca8ca..5039dd92 100644 --- a/skk-develop.el +++ b/skk-develop.el @@ -27,7 +27,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) (require 'tar-util) diff --git a/skk-emacs.el b/skk-emacs.el index ec629ffb..0b3be759 100644 --- a/skk-emacs.el +++ b/skk-emacs.el @@ -29,7 +29,8 @@ (require 'skk-vars) (require 'skk-macs) -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (eval-when-compile (require 'cl-lib) diff --git a/skk-gadget.el b/skk-gadget.el index 4f00f276..18c4c02e 100644 --- a/skk-gadget.el +++ b/skk-gadget.el @@ -90,7 +90,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) diff --git a/skk-hint.el b/skk-hint.el index f44151c1..85868f2f 100644 --- a/skk-hint.el +++ b/skk-hint.el @@ -59,9 +59,10 @@ ;; ;; が上位に現れます。 -;;;Code +;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) diff --git a/skk-isearch.el b/skk-isearch.el index b2da399a..d5e0a207 100644 --- a/skk-isearch.el +++ b/skk-isearch.el @@ -44,7 +44,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-vars) (require 'skk-macs) diff --git a/skk-jisx0201.el b/skk-jisx0201.el index b379c15d..32f5e5d6 100644 --- a/skk-jisx0201.el +++ b/skk-jisx0201.el @@ -60,7 +60,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) diff --git a/skk-jisyo-edit-mode.el b/skk-jisyo-edit-mode.el index 8c008565..a263e9a8 100644 --- a/skk-jisyo-edit-mode.el +++ b/skk-jisyo-edit-mode.el @@ -29,7 +29,8 @@ ;;; Code: (require 'skk-macs) -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-cus) (require 'skk-vars) diff --git a/skk-kakasi.el b/skk-kakasi.el index 248ce5fd..62ae2e1d 100644 --- a/skk-kakasi.el +++ b/skk-kakasi.el @@ -42,7 +42,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) diff --git a/skk-kcode.el b/skk-kcode.el index 1ac53f82..c57ba166 100644 --- a/skk-kcode.el +++ b/skk-kcode.el @@ -30,7 +30,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) (require 'skk-emacs) diff --git a/skk-leim.el b/skk-leim.el index 1ef0c3e8..eff0e002 100644 --- a/skk-leim.el +++ b/skk-leim.el @@ -26,7 +26,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) diff --git a/skk-look.el b/skk-look.el index 9520b3c0..1512f27c 100644 --- a/skk-look.el +++ b/skk-look.el @@ -112,7 +112,8 @@ (require 'skk-macs) (require 'skk-vars) -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (eval-when-compile ;; shut up compiler warnings. diff --git a/skk-lookup.el b/skk-lookup.el index d2839e1c..d6d8c80a 100644 --- a/skk-lookup.el +++ b/skk-lookup.el @@ -110,7 +110,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) (require 'skk-num) diff --git a/skk-num.el b/skk-num.el index 52be1be1..3d69f1b5 100644 --- a/skk-num.el +++ b/skk-num.el @@ -29,7 +29,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) diff --git a/skk-show-mode.el b/skk-show-mode.el index e7a0b118..5bff325e 100644 --- a/skk-show-mode.el +++ b/skk-show-mode.el @@ -34,7 +34,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) (require 'skk-emacs) diff --git a/skk-sticky.el b/skk-sticky.el index 71d69c9f..b981d3a2 100644 --- a/skk-sticky.el +++ b/skk-sticky.el @@ -99,7 +99,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) diff --git a/skk-study.el b/skk-study.el index 43cdf3e1..616e11e3 100644 --- a/skk-study.el +++ b/skk-study.el @@ -74,7 +74,8 @@ (defvar jka-compr-compression-info-list) (defvar print-quoted)) -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars) (require 'ring) diff --git a/skk-tut.el b/skk-tut.el index 32185da4..1e51d2d4 100644 --- a/skk-tut.el +++ b/skk-tut.el @@ -32,7 +32,8 @@ (require 'skk-macs) (require 'skk-vars) -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (eval-and-compile (autoload 'skk-nicola-setup-tutorial "skk-nicola")) diff --git a/skk-viper.el b/skk-viper.el index 93e06d01..b82a5081 100644 --- a/skk-viper.el +++ b/skk-viper.el @@ -30,7 +30,8 @@ ;;; Code: -(require 'skk-autoloads) +(when (featurep 'skk-autoloads) + (require 'skk-autoloads)) (require 'skk-macs) (require 'skk-vars)