branch: elpa/engine-mode
commit f955a5b889aa54ed5cd89bb31b1003f1977b3482
Author: Stefan Kangas <[email protected]>
Commit: Harry R. Schwartz <[email protected]>
Fix issues found by package-lint
---
engine-mode.el | 36 +++++++++++++++++++-----------------
1 file changed, 19 insertions(+), 17 deletions(-)
diff --git a/engine-mode.el b/engine-mode.el
index c9b7bf30b3..94c3ce6e05 100644
--- a/engine-mode.el
+++ b/engine-mode.el
@@ -1,4 +1,4 @@
-;;; engine-mode.el --- Define and query search engines from within Emacs.
+;;; engine-mode.el --- Define and query search engines from within Emacs
;; Author: Harry R. Schwartz <[email protected]>
;; Version: 2.2.0
@@ -7,6 +7,19 @@
;; This file is NOT part of GNU Emacs.
+;; This program is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; This program is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with this program. If not, see <https://www.gnu.org/licenses/>.
+
;;; Commentary:
;; `engine-mode' is a global minor mode for Emacs. It enables you to
@@ -33,25 +46,14 @@
;; `C-x / d' is now bound to the new function
;; engine/search-duckduckgo'! Nifty.
-;;; License:
-
-;; This program is free software: you can redistribute it and/or modify
-;; it under the terms of the GNU General Public License as published by
-;; the Free Software Foundation, either version 3 of the License, or
-;; (at your option) any later version.
-
-;; This program is distributed in the hope that it will be useful,
-;; but WITHOUT ANY WARRANTY; without even the implied warranty of
-;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-;; GNU General Public License for more details.
-
-;; You should have received a copy of the GNU General Public License
-;; along with this program. If not, see <http://www.gnu.org/licenses/>.
-
;;; Code:
-(eval-when-compile (require 'cl-macs))
+(eval-when-compile (require 'cl-lib))
(require 'format-spec)
+(defgroup engine-mode nil
+ "Define search engines, bind them to keybindings, and query them."
+ :group 'external)
+
(defcustom engine/keybinding-prefix "C-x /"
"The default engine-mode keybindings prefix."
:type '(choice (string :tag "Key")