Fix the load issue by unwrapping requires
This commit is contained in:
parent
14157663b0
commit
9b160ec102
6 changed files with 15 additions and 28 deletions
|
@ -13,13 +13,8 @@
|
|||
;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||
;; USA
|
||||
|
||||
|
||||
(eval-when-compile
|
||||
(require 'sclang-util)
|
||||
(require 'sclang-interp)
|
||||
)
|
||||
|
||||
|
||||
(require 'sclang-util)
|
||||
(require 'sclang-interp)
|
||||
|
||||
(sclang-set-command-handler
|
||||
'openDevSource
|
||||
|
|
|
@ -15,9 +15,8 @@
|
|||
;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||
;; USA
|
||||
|
||||
(eval-when-compile
|
||||
(require 'sclang-util)
|
||||
(require 'compile))
|
||||
(require 'sclang-util)
|
||||
(require 'compile)
|
||||
|
||||
;; =====================================================================
|
||||
;; post buffer access
|
||||
|
|
|
@ -16,11 +16,8 @@
|
|||
;;; along with this program; if not, write to the Free Software
|
||||
;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
(eval-when-compile
|
||||
(require 'sclang-util)
|
||||
(require 'sclang-mode)
|
||||
)
|
||||
|
||||
(require 'sclang-util)
|
||||
(require 'sclang-mode)
|
||||
|
||||
(easy-mmode-define-minor-mode sclang-minor-mode
|
||||
"Toggle sclang-minor-mode.
|
||||
|
|
|
@ -24,10 +24,8 @@
|
|||
(declare-function company-mode "ext:company")
|
||||
(defvar company-backends)
|
||||
|
||||
(eval-when-compile
|
||||
(require 'font-lock)
|
||||
(require 'sclang-util))
|
||||
|
||||
(require 'font-lock)
|
||||
(require 'sclang-util)
|
||||
(require 'sclang-interp)
|
||||
(require 'sclang-language)
|
||||
(require 'sclang-dev)
|
||||
|
|
|
@ -16,12 +16,10 @@
|
|||
;; USA
|
||||
|
||||
(require 'cl-lib)
|
||||
|
||||
(eval-when-compile
|
||||
(require 'sclang-util)
|
||||
(require 'sclang-interp)
|
||||
(require 'sclang-language)
|
||||
(require 'sclang-mode))
|
||||
(require 'sclang-util)
|
||||
(require 'sclang-interp)
|
||||
(require 'sclang-language)
|
||||
(require 'sclang-mode)
|
||||
|
||||
(defcustom sclang-server-panel "Server.default.makeWindow"
|
||||
"Expression to execute when `sclang-show-server-panel' is invoked."
|
||||
|
|
|
@ -27,9 +27,9 @@
|
|||
;;; Code:
|
||||
|
||||
(require 'cl-lib)
|
||||
(eval-when-compile (require 'sclang-util)
|
||||
(require 'sclang-language))
|
||||
(eval-and-compile (require 'sclang-interp))
|
||||
(require 'sclang-util)
|
||||
(require 'sclang-language)
|
||||
(require 'sclang-interp)
|
||||
|
||||
(defvar sclang-widgets nil)
|
||||
(make-variable-buffer-local 'sclang-widgets)
|
||||
|
|
Loading…
Reference in a new issue