From b09980f6813c4a7fc95b6e3accf96e57831c691f Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 31 Aug 2020 14:39:44 +0100 Subject: Lint window.el - remove "Emacs" from description - add Version, URL, Package-Requires sections - prefer `window-` prefix to `window/` --- emacs/.emacs.d/wpc/window.el | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'emacs/.emacs.d/wpc/window.el') diff --git a/emacs/.emacs.d/wpc/window.el b/emacs/.emacs.d/wpc/window.el index 132156bc44..707641c6ff 100644 --- a/emacs/.emacs.d/wpc/window.el +++ b/emacs/.emacs.d/wpc/window.el @@ -1,5 +1,9 @@ -;;; window.el --- Working with Emacs windows -*- lexical-binding: t -*- +;;; window.el --- Working with windows -*- lexical-binding: t -*- + ;; Author: William Carroll +;; Version: 0.0.1 +;; URL: https://git.wpcarro.dev/wpcarro/briefcase +;; Package-Requires: ((emacs "25.1")) ;;; Commentary: ;; Utilities to make CRUDing windows in Emacs easier. @@ -18,7 +22,7 @@ ;; Library ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -(defun window/find (name) +(defun window-find (name) "Find a window by the NAME of the buffer it's hosting." (let ((buffer (get-buffer name))) (if (maybe/some? buffer) @@ -27,9 +31,9 @@ ;; TODO: Find a way to incorporate these into function documentation. (macros/comment - (window/find "*scratch*")) + (window-find "*scratch*")) -(defun window/delete (window) +(defun window-delete (window) "Delete the WINDOW reference." (delete-window window)) -- cgit 1.4.1