aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali2020-09-07 19:05:39 -0400
committerAmin Bandali2020-09-07 19:05:39 -0400
commit6fd03b0fbebc3cd2875bda8a0f820811579d7087 (patch)
treebdcb890aea7bb51bd6ca4b6a3e047f0974bc70d4
parent4ffc370373b3c7f209adf9a617bd10ea8e9589dc (diff)
downloademacs-6fd03b0fbebc3cd2875bda8a0f820811579d7087.tar.gz
emacs-6fd03b0fbebc3cd2875bda8a0f820811579d7087.zip
* lisp/erc/erc-status-sidebar.el: Fix header and make small tweaks
-rw-r--r--lisp/erc/erc-status-sidebar.el15
1 files changed, 7 insertions, 8 deletions
diff --git a/lisp/erc/erc-status-sidebar.el b/lisp/erc/erc-status-sidebar.el
index 5649ed3fc79..033c7d600f9 100644
--- a/lisp/erc/erc-status-sidebar.el
+++ b/lisp/erc/erc-status-sidebar.el
@@ -1,10 +1,9 @@
1;;; erc-status-sidebar.el --- Hexchat-like activity overview for ERC 1;;; erc-status-sidebar.el --- HexChat-like activity overview for ERC
2 2
3;; Copyright (C) 2017, 2020 Free Software Foundation, Inc. 3;; Copyright (C) 2017, 2020 Free Software Foundation, Inc.
4 4
5;; Author: Andrew Barbarello 5;; Author: Andrew Barbarello
6;; Version: 0.1 6;; Maintainer: Amin Bandali <bandali@gnu.org>
7;; Package-Requires: ((emacs "24.5") (seq "2.3"))
8;; URL: https://github.com/drewbarbs/erc-status-sidebar 7;; URL: https://github.com/drewbarbs/erc-status-sidebar
9 8
10;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
@@ -24,10 +23,10 @@
24 23
25;;; Commentary: 24;;; Commentary:
26 25
27;; This package is provides a hexchat-like status bar for joined 26;; This package provides a HexChat-like sidebar for joined channels in
28;; channels in ERC. It relies on the `erc-track' module, and displays 27;; ERC. It relies on the `erc-track' module, and displays all of the
29;; all of the same information that `erc-track' does in the mode line, 28;; same information that `erc-track' does in the mode line, but in an
30;; but in an alternative format in form of a sidebar. 29;; alternative format in form of a sidebar.
31 30
32;; Shout out to sidebar.el <https://github.com/sebastiencs/sidebar.el> 31;; Shout out to sidebar.el <https://github.com/sebastiencs/sidebar.el>
33;; and outline-toc.el <https://github.com/abingham/outline-toc.el> for 32;; and outline-toc.el <https://github.com/abingham/outline-toc.el> for
@@ -268,7 +267,7 @@ hooks that invoke it with arguments."
268 #'erc-status-sidebar-set-window-preserve-size)) 267 #'erc-status-sidebar-set-window-preserve-size))
269 268
270(defun erc-status-sidebar-set-window-preserve-size () 269(defun erc-status-sidebar-set-window-preserve-size ()
271 "Tell Emacs to preserve the current height/width of the ERC statusbar window. 270 "Tell Emacs to preserve the current height/width of the ERC sidebar window.
272 271
273Note that preserve status needs to be reset when the window is 272Note that preserve status needs to be reset when the window is
274manually resized, so `erc-status-sidebar-mode' adds this function 273manually resized, so `erc-status-sidebar-mode' adds this function