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

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

[nongnu] elpa/opam-switch-mode 7306ce0fee 10/31: add separator in menu a


From: ELPA Syncer
Subject: [nongnu] elpa/opam-switch-mode 7306ce0fee 10/31: add separator in menu after current switch
Date: Mon, 14 Nov 2022 08:59:59 -0500 (EST)

branch: elpa/opam-switch-mode
commit 7306ce0fee666f67acaab77d3d5b0f966771596d
Author: Hendrik Tews <Hendrik.Tews@kernkonzept.com>
Commit: Hendrik Tews <Hendrik.Tews@kernkonzept.com>

    add separator in menu after current switch
---
 opam-mode.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/opam-mode.el b/opam-mode.el
index bfcd98b316..945062c413 100644
--- a/opam-mode.el
+++ b/opam-mode.el
@@ -279,11 +279,12 @@ not any other shells outside emacs."
 (defun opam-menu-items ()
   "Create list or opam switches as menu items for `easy-menu'."
   (nconc
-   ;; first the current switch as info
-   '(["current: " nil
+   ;; first the current switch as info with a separator
+   '(["current switch: " nil
       :active t
       :suffix (opam-get-current-switch)
-      :help "Shows the currently selected opam switch"])
+      :help "Shows the currently selected opam switch"]
+     "-------")
    ;; then the list with all the real opam switches
    (mapcar
     (lambda (switch)



reply via email to

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