[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/telephone-line 1b52832b44 054/195: Nameless indentation
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/telephone-line 1b52832b44 054/195: Nameless indentation |
Date: |
Wed, 5 Jan 2022 02:59:23 -0500 (EST) |
branch: elpa/telephone-line
commit 1b52832b44b262576a5d0277eecd5d15fb1238c0
Author: Daniel Bordak <dbordak@fastmail.fm>
Commit: Daniel Bordak <dbordak@fastmail.fm>
Nameless indentation
---
telephone-line-utils.el | 2 ++
telephone-line.el | 16 ++++++++--------
2 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/telephone-line-utils.el b/telephone-line-utils.el
index 62fadf9ed6..573becafb7 100644
--- a/telephone-line-utils.el
+++ b/telephone-line-utils.el
@@ -179,6 +179,7 @@ color1 and color2."
"Define a separator named NAME, using AXIS-FUNC and PATTERN-FUNC to create
the shape, optionally forcing FORCED-WIDTH.
NOTE: Forced-width primary separators are not currently supported."
+ (declare (indent defun))
`(telephone-line--defseparator-internal ,name
(let ((height (telephone-line-separator-height))
(width (or ,forced-width (telephone-line-separator-width))))
@@ -197,6 +198,7 @@ NOTE: Forced-width primary separators are not currently
supported."
(defmacro telephone-line-defsubseparator (name axis-func pattern-func
&optional alt-char forced-width)
"Define a subseparator named NAME, using AXIS-FUNC and PATTERN-FUNC to
create the shape, optionally forcing FORCED-WIDTH."
+ (declare (indent defun))
`(telephone-line--defseparator-internal ,name
(let* ((height (telephone-line-separator-height))
(width (or ,forced-width (telephone-line-separator-width)))
diff --git a/telephone-line.el b/telephone-line.el
index 6c901c4427..5ae382d32f 100644
--- a/telephone-line.el
+++ b/telephone-line.el
@@ -237,28 +237,28 @@ separators, as they are conditional, are evaluated
on-the-fly."
base-width)))
(defcustom telephone-line-lhs '((accent . (telephone-line-vc-segment))
- (nil . (telephone-line-minor-mode-segment
- telephone-line-buffer-segment)))
+ (nil . (telephone-line-minor-mode-segment
+ telephone-line-buffer-segment)))
"Left hand side segment alist."
:type '(alist :key-type segment-color :value-type subsegment-list)
:group 'telephone-line)
(defcustom telephone-line-rhs '((nil . (telephone-line-misc-info-segment
- telephone-line-major-mode-segment))
- (accent . (telephone-line-position-segment)))
+ telephone-line-major-mode-segment))
+ (accent . (telephone-line-position-segment)))
"Right hand side segment alist."
:type '(alist :key-type segment-color :value-type subsegment-list)
:group 'telephone-line)
(defun telephone-line--generate-mode-line-lhs ()
(telephone-line-add-separators telephone-line-lhs
- telephone-line-primary-left-separator
- telephone-line-secondary-left-separator))
+ telephone-line-primary-left-separator
+ telephone-line-secondary-left-separator))
(defun telephone-line--generate-mode-line-rhs ()
(telephone-line-add-separators telephone-line-rhs
- telephone-line-primary-right-separator
- telephone-line-secondary-right-separator))
+ telephone-line-primary-right-separator
+ telephone-line-secondary-right-separator))
(defun telephone-line--generate-mode-line ()
`(,@(telephone-line--generate-mode-line-lhs)
- [nongnu] elpa/telephone-line 6fd0211efe 045/195: Add GPL badge, (continued)
- [nongnu] elpa/telephone-line 6fd0211efe 045/195: Add GPL badge, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line b6dcd27331 025/195: Add install instructions, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 502285b6bc 077/195: Add support for xah-fly-keys, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 315054ffb4 068/195: Minor fixes, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 48f2894e95 046/195: Add initial support for multiple frames, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 1f2389212b 024/195: Remove -enable and -disable entirely, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line de93becc18 039/195: Merge pull request #12 from bjpbakker/fix/erc-segment, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 5ccd246d25 049/195: Documentation update, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line ae636f7ca2 041/195: Version bump, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 8bc83573c3 061/195: Fix unicode separators, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 1b52832b44 054/195: Nameless indentation,
ELPA Syncer <=
- [nongnu] elpa/telephone-line 676b57d819 081/195: Made subseparator colors customizeable, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 00600d46c9 042/195: Merge branch 'master' of github.com:dbordak/telephone-line, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 3bb5cee841 074/195: Update readme.org, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line f5a1d0cbd2 057/195: Move over to new OO separators, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line cac54930a1 115/195: Improve even heights., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 105defac6e 100/195: Remove telephone-line-trim, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 0fec3265a0 118/195: Fix terminology before it's too late., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line bf0e4394ec 104/195: Previous fix didn't account for hollow separators, ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 2906d39401 116/195: Oops, don't want accidental rounding., ELPA Syncer, 2022/01/05
- [nongnu] elpa/telephone-line 909c1779e4 089/195: Fixed rainbow face examples, ELPA Syncer, 2022/01/05