[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/opam-switch-mode cad8510077 18/31: refactor: Run `M-x pack
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/opam-switch-mode cad8510077 18/31: refactor: Run `M-x package-lint-current-buffer` and address its feedback |
Date: |
Mon, 14 Nov 2022 09:00:00 -0500 (EST) |
branch: elpa/opam-switch-mode
commit cad8510077d3670cb27a3253d2283540e61a7d49
Author: Erik Martin-Dorel <erik.martin-dorel@irit.fr>
Commit: Erik Martin-Dorel <erik.martin-dorel@irit.fr>
refactor: Run `M-x package-lint-current-buffer` and address its feedback
(except `opsw--` identifiers renaming)
---
opam-switch-mode.el | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/opam-switch-mode.el b/opam-switch-mode.el
index a08d15a299..eb00f61c65 100644
--- a/opam-switch-mode.el
+++ b/opam-switch-mode.el
@@ -1,9 +1,12 @@
-;;; opam-switch-mode.el --- select opam switches within emacs -*-
lexical-binding: t; -*-
+;;; opam-switch-mode.el --- Select opam switches within Emacs -*-
lexical-binding: t; -*-
;;
;; Copyright (C) 2021 Hendrik Tews
;;
;; Authors: Hendrik Tews
;; Maintainer: Hendrik Tews <hendrik@askra.de>
+;; URL: https://github.com/ProofGeneral/opam-switch-mode
+;; Package-Requires: ((emacs "25.1"))
+;; Version: 1.0-git
;;
;; SPDX-License-Identifier: GPL-3.0-or-later
;;
@@ -48,21 +51,21 @@
;;; User options and variables
-(defgroup opam-switch-mode ()
+(defgroup opam-switch ()
"Customization for opam switch support in Emacs"
:group 'external)
(defcustom opsw--program-name "opam"
"Name or path of the opam binary."
- :group 'opam-switch-mode
+ :group 'opam-switch
:type 'string)
(defcustom opsw--common-options ()
"Options to be supplied to every opam invocation.
This must be a list of strings, each member string an option
accepted by opam."
- :group 'opam-switch-mode
+ :group 'opam-switch
:type '(repeat string))
(defcustom opsw--common-environment
@@ -76,14 +79,14 @@ element should have the form of ENVVARNAME=VALUE.
The process environment must ensure that output is plain ascii
without color, non-ascii arrow symbols and that it is in English.
Otherwise parsing the output of opam commands won't work."
- :group 'opam-switch-mode
+ :group 'opam-switch
:type '(repeat string))
(defcustom opam-switch-change-opam-switch-hook nil
"Hook run when the opam switch changes.
This is used, for instance, to let Proof General kill the coq
background process when the opam switch changes."
- :group 'opam-switch-mode
+ :group 'opam-switch
:type '(repeat function))
;;; Code:
@@ -316,8 +319,7 @@ not any other shells outside Emacs."
'(
["reset" (opsw--set-switch "")
:active opsw--saved-env
- :help "reset to state when emacs was started"]
- )))
+ :help "reset to state when emacs was started"])))
(defun opsw--setup-opam-switch-mode ()
"Re-define menu for `opam-switch-mode'.
@@ -341,7 +343,7 @@ is automatically created by `define-minor-mode'."
" OPSW"
;; keymap
opsw--mode-keymap
- :group 'opam-switch-mode
+ :group 'opam-switch
;; body
(when opam-switch-mode
(opsw--setup-opam-switch-mode)))
- [nongnu] branch elpa/opam-switch-mode created (now a306f75d82), ELPA Syncer, 2022/11/14
- [nongnu] elpa/opam-switch-mode dea35145a3 30/31: Merge pull request #7 from ProofGeneral/add-doc, ELPA Syncer, 2022/11/14
- [nongnu] elpa/opam-switch-mode 515d08dfb3 09/31: check and handle opam errors, ELPA Syncer, 2022/11/14
- [nongnu] elpa/opam-switch-mode cad8510077 18/31: refactor: Run `M-x package-lint-current-buffer` and address its feedback,
ELPA Syncer <=
- [nongnu] elpa/opam-switch-mode 0db601100c 17/31: docs: Run `M-x checkdoc` and address its feedback, ELPA Syncer, 2022/11/14
- [nongnu] elpa/opam-switch-mode 3d63566b0d 04/31: provide README, ELPA Syncer, 2022/11/14
- [nongnu] elpa/opam-switch-mode dd6a86ddad 23/31: Add LICENSE, ELPA Syncer, 2022/11/14
- [nongnu] elpa/opam-switch-mode 16b8276f85 13/31: use -- for internal stuff, ELPA Syncer, 2022/11/14
- [nongnu] elpa/opam-switch-mode 5f3d2102ae 26/31: Add OCaml keyword and https://opam.ocaml.org URL, ELPA Syncer, 2022/11/14
- [nongnu] elpa/opam-switch-mode 7c648a0719 16/31: docs: details (#3), ELPA Syncer, 2022/11/14
- [nongnu] elpa/opam-switch-mode 22fa9efcb6 27/31: docs(README.md): Add install section, ELPA Syncer, 2022/11/14
- [nongnu] elpa/opam-switch-mode f62c708225 14/31: typo fix, ELPA Syncer, 2022/11/14
- [nongnu] elpa/opam-switch-mode 95a3b4225a 15/31: fix: (opam-switch-mode) × 3 bug (#4), ELPA Syncer, 2022/11/14
- [nongnu] elpa/opam-switch-mode a306f75d82 31/31: docs(README.md): detail, ELPA Syncer, 2022/11/14