emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/opam-switch-mode 578695619c 3/4: opam-switch-mode.el: Capi


From: ELPA Syncer
Subject: [nongnu] elpa/opam-switch-mode 578695619c 3/4: opam-switch-mode.el: Capitalize to follow conventions
Date: Tue, 20 Jun 2023 13:00:40 -0400 (EDT)

branch: elpa/opam-switch-mode
commit 578695619c8f913ea7b6ef8f513c38f8e9339538
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    opam-switch-mode.el: Capitalize to follow conventions
    
    (opam-switch--menu-items): Capitalize tooltips
    and grey out the "current switch" non-command.
    (opam-switch--setup-opam-switch-mode): Capitalize the menu name, to
    follow the convention.
---
 opam-switch-mode.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/opam-switch-mode.el b/opam-switch-mode.el
index 7f56e53243..f947de6f1e 100644
--- a/opam-switch-mode.el
+++ b/opam-switch-mode.el
@@ -311,7 +311,7 @@ not any other shells outside Emacs."
   (append
    ;; first the current switch as info with a separator
    '(["current switch: " nil
-      :active t
+      :active nil
       :suffix (opam-switch--get-current-switch)
       :help "Shows the currently selected opam switch"]
      "-------")
@@ -321,13 +321,13 @@ not any other shells outside Emacs."
       `[,switch
         (opam-switch-set-switch ,switch)
         :active t
-        :help ,(concat "select opam switch \"" switch "\"")])
+        :help ,(concat "Select opam switch \"" switch "\"")])
     (opam-switch--get-switches))
    ;; now reset as last element
    '(
      ["reset" (opam-switch-set-switch "")
       :active opam-switch--saved-env
-      :help "reset to state when emacs was started"])))
+      :help "Reset to state when Emacs was started"])))
 
 (defun opam-switch--setup-opam-switch-mode ()
   "Re-define menu for `opam-switch-mode'.
@@ -341,7 +341,7 @@ is automatically created by `define-minor-mode'."
     opam-switch-mode-map
     "opam mode menu"
     ;; FIXME: Use `:filter'?
-    (cons "opam-switch"
+    (cons "Opam-switch"
           (opam-switch--menu-items))))
 
 ;;;###autoload



reply via email to

[Prev in Thread] Current Thread [Next in Thread]