From 3225ec1803c3da9aee3f53562278c3558c179c26 Mon Sep 17 00:00:00 2001 From: Korytov Pavel Date: Sat, 5 Feb 2022 11:32:22 +0300 Subject: [PATCH 1/2] docs: add MELPA badge --- README.org | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.org b/README.org index 152f2e0..19d3771 100644 --- a/README.org +++ b/README.org @@ -1,5 +1,7 @@ #+TITLE: exwm-modeline +[[https://melpa.org/#/exwm-modeline][file:https://melpa.org/packages/exwm-modeline-badge.svg]] + A modeline segment to display exwm workspaces. Here's how it looks near the list of [[https://github.com/nex3/perspective-el][perspectives]] (the segment of the current package is to the left): @@ -13,15 +15,11 @@ Features: - Numbers are clickable. * Installation -As the package isn't yet available anywhere but in this repository, you can clone the repository, add it to the =load-path=, and =require= the package: -#+begin_src emacs-lisp -(require 'exwm-modeline) -#+end_src +The package is available on MELPA. Install it however you usually install packages, I use [[https://github.com/jwiegley/use-package][use-package]] and [[https://github.com/raxod502/straight.el][straight.el]]: -My preferred way is to use =use-package= with =straight=: #+begin_src emacs-lisp (use-package exwm-modeline - :straight (:host github :repo "SqrtMinusOne/exwm-modeline") + :straight t :after (exwm)) #+end_src From 6db0e09dc27597de5629a0a761842181cdae3c1f Mon Sep 17 00:00:00 2001 From: Miguel Moreno Date: Fri, 31 Mar 2023 15:34:31 +0200 Subject: [PATCH 2/2] fix: Expand cl-lib macros at compile time --- exwm-modeline.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/exwm-modeline.el b/exwm-modeline.el index 3cbe1d0..9843fb4 100644 --- a/exwm-modeline.el +++ b/exwm-modeline.el @@ -37,6 +37,8 @@ ;; Take a look at `exwm-modeline-mode' for more info. ;;; Code: +(eval-when-compile + (require 'cl-lib)) (require 'exwm) (require 'exwm-randr) (require 'exwm-workspace)