diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 0000000..d44af27 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1,5 @@ +;; setting for elisp mode and elisp linter +((emacs-lisp-mode . ((fill-column . 80) + (indent-tabs-mode . nil) + (elisp-lint-indent-specs . ((describe . 1) + (it . 1)))))) diff --git a/el/.dir-locals.el b/el/.dir-locals.el new file mode 100644 index 0000000..d44af27 --- /dev/null +++ b/el/.dir-locals.el @@ -0,0 +1,5 @@ +;; setting for elisp mode and elisp linter +((emacs-lisp-mode . ((fill-column . 80) + (indent-tabs-mode . nil) + (elisp-lint-indent-specs . ((describe . 1) + (it . 1)))))) diff --git a/el/CMakeLists.txt b/el/CMakeLists.txt index d7288af..c5558cf 100644 --- a/el/CMakeLists.txt +++ b/el/CMakeLists.txt @@ -4,6 +4,13 @@ mark_as_advanced(SC_EL_BYTECOMPILE) file(GLOB scel_sources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.el) +file(GLOB_RECURSE local-load-path + LIST_DIRECTORIES true + "~/.emacs.d/site-lisp/*" + "~/.emacs.d/elpa/*") + +set(all_scel_sources ${scel_sources} sclang-vars.el) + set(PKG_DATA_DIR ${CMAKE_INSTALL_PREFIX}/share/SuperCollider) configure_file(sclang-vars.el.in @@ -27,6 +34,7 @@ if (SC_EL_BYTECOMPILE) add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${el}c COMMAND ${EMACS_EXECUTABLE} -batch -L ${CMAKE_CURRENT_BINARY_DIR} + -L ${local-load-path} -f batch-byte-compile ${CMAKE_CURRENT_BINARY_DIR}/${el} DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${el} diff --git a/el/sclang-help.el b/el/sclang-help.el index 0de1d98..8c9eb38 100644 --- a/el/sclang-help.el +++ b/el/sclang-help.el @@ -1,4 +1,4 @@ -;;; sclang-help.el --- IDE for working with SuperCollider -*- coding: utf-8; +;;; sclang-help.el --- IDE for working with SuperCollider -*- coding: utf-8; -*- ;; ;; Copyright 2003 stefan kersten