Skip to content

Commit

Permalink
Remove long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
danielfm committed Dec 5, 2023
1 parent 04df86f commit 400eb6d
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 23 deletions.
9 changes: 5 additions & 4 deletions smudge-controller.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

;;; Commentary:

;; This library defines a set of commands for controlling an instance of a Spotify client. The
;; commands are sent via a multimethod-like dispatch to the chosen transport.
;; This library defines a set of commands for controlling an instance of a
;; Spotify client. The commands are sent via a multimethod-like dispatch to
;; the chosen transport.

;;; Code:

Expand All @@ -33,8 +34,8 @@
"How the commands should be sent to Spotify process.
Defaults to 'connect, as it provides a consistent UX across all OSes."
:type '(choice (symbol :tag "AppleScript" apple)
(symbol :tag "D-Bus" dbus)
(symbol :tag "Connect" connect))
(symbol :tag "D-Bus" dbus)
(symbol :tag "Connect" connect))
:group 'smudge)

(defcustom smudge-player-status-refresh-interval 5
Expand Down
11 changes: 6 additions & 5 deletions smudge-dbus.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@

;;; Commentary:

;; This library handles controlling Spotify via the D-Bus interface. It implements a set of
;; multimethod-like functions that are dispatched in smudge-controller.el.
;; This library handles controlling Spotify via the D-Bus interface. It
;; implements a set of multimethod-like functions that are dispatched in
;; smudge-controller.el.

;; Somehow shuffling, setting volume and loop status do not work as expected. Querying the
;; attribute does not return the expected value and setting it has no effect. The dbus interface of
;; Spotify seems to be broken.
;; Somehow shuffling, setting volume and loop status do not work as expected.
;; Querying the attribute does not return the expected value and setting it
;; has no effect. The dbus interface of Spotify seems to be broken.

;;; Code:

Expand Down
4 changes: 2 additions & 2 deletions smudge-device-select.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

;;; Commentary:

;; This library implements methods, UI, and a minor mode to use the "connect" RESTful APIs to manage
;; and query Spotify clients on the network.
;; This library implements methods, UI, and a minor mode to use the "connect"
;; RESTful APIs to manage and query Spotify clients on the network.

;;; Code:

Expand Down
3 changes: 2 additions & 1 deletion smudge-playlist.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

;;; Commentary:

;; This library implements UI and a major mode for searching and acting on Spotify playlists.
;; This library implements UI and a major mode for searching and acting on
;; Spotify playlists.

;;; Code:

Expand Down
11 changes: 6 additions & 5 deletions smudge-remote.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

;;; Commentary:

;; This library implements a minor mode that allows for interacting with Spotify and displaying
;; transport status. This also includes a global minor mode definition.
;; This library implements a minor mode that allows for interacting with
;; Spotify and displaying transport status. This also includes a global
;; minor mode definition.

;;; Code:

Expand All @@ -22,8 +23,8 @@
(defcustom smudge-status-location 'modeline
"Specify where to show the player status: one of '(modeline title-bar nil)."
:type '(choice (const :tag "Modeline" modeline)
(const :tag "Title Bar" title-bar)
(const :tag "Do not show" nil))
(const :tag "Title Bar" title-bar)
(const :tag "Do not show" nil))
:group 'smudge)

(defcustom smudge-title-bar-separator " "
Expand Down Expand Up @@ -106,7 +107,7 @@ See commands \\[smudge-toggle-repeating] and
(defvar smudge-remote-player-status-map
(let ((map (make-sparse-keymap)))
(define-key map (kbd "<mode-line> <mouse-1>")
'smudge-remote-popup-menu)
'smudge-remote-popup-menu)
map)
"Keymap for Smudge mode-line status.")

Expand Down
3 changes: 2 additions & 1 deletion smudge-track.el
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

;;; Commentary:

;; This library implements UI and a major mode for searching and acting on Spotify playlists.
;; This library implements UI and a major mode for searching and acting on
;; Spotify playlists.

;;; Code:

Expand Down
11 changes: 6 additions & 5 deletions smudge.el
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@
;; This mode requires at least GNU Emacs 24.4

;; Before using this mode, first go the Spotify Web API console
;; <https://developer.spotify.com/my-applications> and create a new application, adding
;; <http://localhost:8080/smudge-callback> as the redirect URI (or whichever port you have
;; specified via customize).
;; <https://developer.spotify.com/my-applications> and create a new application,
;; adding <http://localhost:8080/smudge-callback> as the redirect URI (or
;; whichever port you have specified via customize).

;; After requiring `smudge', make sure to define the client id and client secrets, along with some
;; other important settings. See README.md for the complete list of settings and usage information.
;; After requiring `smudge', make sure to define the client id and client
;; secrets, along with some other important settings. See README.md for the
;; complete list of settings and usage information.

;;; Code:

Expand Down

0 comments on commit 400eb6d

Please sign in to comment.