[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/nano-agenda 034691a 6/6: Linting
From: |
ELPA Syncer |
Subject: |
[elpa] externals/nano-agenda 034691a 6/6: Linting |
Date: |
Tue, 12 Oct 2021 14:57:27 -0400 (EDT) |
branch: externals/nano-agenda
commit 034691a5b135e626cf40e32b3b08a41ed9aa0550
Author: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Commit: Nicolas P. Rougier <Nicolas.Rougier@inria.fr>
Linting
---
nano-agenda.el | 31 ++++++++++++++-----------------
1 file changed, 14 insertions(+), 17 deletions(-)
diff --git a/nano-agenda.el b/nano-agenda.el
index d1c1d05..fadfef9 100644
--- a/nano-agenda.el
+++ b/nano-agenda.el
@@ -209,11 +209,20 @@
(defun nano-agenda-select-window ()
- "Default function to select where to show agenda. Default
-behavior is to split vertically current window."
+ "Function to select where to show agenda. Default
+behavior is to split vertically current window.
+
+ (before) (after)
++--------------------------+ +--------------------------+
+| | | |
+| | | |
+| | -> | |
+| | +----------+---------------+
+| | | calendar | agenda |
++--------------------------+ +----------+---------------+"
+
(split-window nil -10 nil))
-
(defun nano-agenda-select-entry (entry)
"Function to decide whether an entry is
displayed/counted. Default behavior is to select only timestamped
@@ -237,16 +246,7 @@ entries."
(defun nano-agenda ()
- "Create windows & buffers associated with the agenda (below current window).
-
- (before) (after)
-+--------------------------+ +--------------------------+
-| | | |
-| | | |
-| | -> | |
-| | +----------+---------------+
-| | | calendar | agenda |
-+--------------------------+ +----------+---------------+"
+ "Create windows & buffers associated with the agenda."
(interactive)
@@ -386,8 +386,6 @@ for efficiency."
(goto-char (point-min)))
-
-
(defun nano-agenda--populate-calendar ()
"Populate the calendar according to the month of the current selected date."
@@ -478,8 +476,7 @@ for efficiency."
""))
'keymap map))
(if (< col 6)
- (insert (propertize (if is-today "•" " ") 'face face))
- )))
+ (insert (propertize (if is-today "•" " ") 'face face)))))
(if (< row 5) (insert "\n")))))
(provide 'nano-agenda)
- [elpa] branch externals/nano-agenda created (now 034691a), ELPA Syncer, 2021/10/12
- [elpa] externals/nano-agenda 7f67c97 4/6: Updated screenshot with colored days, ELPA Syncer, 2021/10/12
- [elpa] externals/nano-agenda 7bbe87b 3/6: Added colored busy days, ELPA Syncer, 2021/10/12
- [elpa] externals/nano-agenda 1ca4daf 5/6: Added specific function for window selection & entry selection/display, ELPA Syncer, 2021/10/12
- [elpa] externals/nano-agenda 034691a 6/6: Linting,
ELPA Syncer <=
- [elpa] externals/nano-agenda 5d73ced 1/6: Initial commit, ELPA Syncer, 2021/10/12
- [elpa] externals/nano-agenda 6db277f 2/6: Added colors according to busy level, ELPA Syncer, 2021/10/12