From e2f092263eed5d29a66c5343e75c532dd17f8d61 Mon Sep 17 00:00:00 2001 From: contrapunctus Date: Sun, 12 Jan 2020 23:43:08 +0530 Subject: [PATCH] Fixes from byte compilation, package-lint --- sxiv.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/sxiv.el b/sxiv.el index d8a7a4a..9b62884 100644 --- a/sxiv.el +++ b/sxiv.el @@ -1,8 +1,8 @@ -;;; sxiv.el --- Run the sxiv image viewer from Emacs -*- lexical-binding: t; -*- +;;; sxiv.el --- Run the sxiv image viewer -*- lexical-binding: t; -*- ;; Author: contrapunctus ;; Maintainer: contrapunctus -;; Package-Requires: (dash) +;; Package-Requires: (dash (emacs "25.1")) ;; Version: 0.1.0 ;;; Commentary: @@ -27,9 +27,11 @@ With no marked files, or if not in a Dired buffer, return nil." nil) nil)) -(defun sxiv-filter (_process _output) +(defun sxiv-filter (_process output) "Open a `dired' buffer and mark any files marked by the user in `sxiv'. -Used as process filter for `sxiv'." +Used as process filter for `sxiv'. + +OUTPUT is the output of the sxiv process as a string." (find-file sxiv--directory) (--> output (split-string it "\n")