diff --git a/.dir-locals.el b/.dir-locals.el new file mode 100644 index 00000000..f3f3a384 --- /dev/null +++ b/.dir-locals.el @@ -0,0 +1 @@ +((emacs-lisp-mode (package-lint-main-file . "php-mode.el"))) diff --git a/Cask b/Cask index 49af2fb6..a37bc60b 100644 --- a/Cask +++ b/Cask @@ -1,11 +1,13 @@ (package "php-mode" "1.23.0" "Major mode for editing PHP code") (source melpa) -(package-file "php.el") -(package-file "php-face.el") (package-file "php-mode.el") -(package-file "php-project.el") -(package-file "php-mode-debug.el") + +(files + "php.el" + "php-face.el" + "php-project.el" + "php-mode-debug.el") (development (depends-on "pkg-info") diff --git a/lisp/php-local-manual.el b/lisp/php-local-manual.el index effb41de..6601ed65 100644 --- a/lisp/php-local-manual.el +++ b/lisp/php-local-manual.el @@ -7,7 +7,6 @@ ;; URL: https://github.com/emacs-php/php-mode ;; Keywords: docs, php ;; Version: 2.0.0 -;; Package-Requires: ((emacs "25.2")) ;; License: GPL-3.0-or-later ;; This program is free software; you can redistribute it and/or modify diff --git a/php-align.el b/php-align.el index 084f8857..648ceac0 100644 --- a/php-align.el +++ b/php-align.el @@ -8,7 +8,6 @@ ;; Keywords: php languages convenience align ;; Homepage: https://github.com/emacs-php/php-mode ;; Version: 1.23.0 -;; Package-Requires: ((emacs "24.3")) ;; License: GPL-3.0-or-later ;; This program is free software; you can redistribute it and/or modify diff --git a/php-face.el b/php-face.el index cb6a95f9..ac6f48da 100644 --- a/php-face.el +++ b/php-face.el @@ -7,7 +7,6 @@ ;; Version: 1.23.0 ;; Keywords: faces, php ;; Homepage: https://github.com/emacs-php/php-mode -;; Package-Requires: ((emacs "24.3")) ;; License: GPL-3.0-or-later ;; This program is free software; you can redistribute it and/or modify diff --git a/php-mode-debug.el b/php-mode-debug.el index 1e75aa15..01f02a04 100644 --- a/php-mode-debug.el +++ b/php-mode-debug.el @@ -6,7 +6,6 @@ ;; URL: https://github.com/emacs-php/php-mode ;; Keywords: maint ;; Version: 1.23.0 -;; Package-Requires: ((emacs "24.3")) ;; License: GPL-3.0-or-later ;; This program is free software; you can redistribute it and/or modify diff --git a/php-project.el b/php-project.el index 6e305a7b..5f4236d1 100644 --- a/php-project.el +++ b/php-project.el @@ -6,7 +6,6 @@ ;; Keywords: tools, files ;; URL: https://github.com/emacs-php/php-mode ;; Version: 1.23.0 -;; Package-Requires: ((emacs "24.3")) ;; License: GPL-3.0-or-later ;; This program is free software; you can redistribute it and/or modify diff --git a/php.el b/php.el index ce532c17..e417fa18 100644 --- a/php.el +++ b/php.el @@ -7,7 +7,6 @@ ;; Version: 1.23.0 ;; Keywords: languages, php ;; Homepage: https://github.com/emacs-php/php-mode -;; Package-Requires: ((emacs "24.3")) ;; License: GPL-3.0-or-later ;; This program is free software; you can redistribute it and/or modify diff --git a/tests/.dir-locals.el b/tests/.dir-locals.el new file mode 100644 index 00000000..d18ca3ff --- /dev/null +++ b/tests/.dir-locals.el @@ -0,0 +1 @@ +((emacs-lisp-mode (package-lint-main-file . "../php-mode.el")))