[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/systemd 59ce8ad 095/131: simpler while test
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/systemd 59ce8ad 095/131: simpler while test |
Date: |
Sun, 29 Aug 2021 11:35:22 -0400 (EDT) |
branch: elpa/systemd
commit 59ce8ad415635c88889425ab2f02ba38e6a92a54
Author: Mark Oteiza <mvoteiza@udel.edu>
Commit: Mark Oteiza <mvoteiza@udel.edu>
simpler while test
---
systemd.el | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/systemd.el b/systemd.el
index b0e8039..af3e459 100644
--- a/systemd.el
+++ b/systemd.el
@@ -150,14 +150,12 @@
"Return the value of the key whose value begins at position START.
Lines ending in a backslash are concatenated with the next
according to systemd.unit(5)."
- (let ((break "\\\\\n")
- end)
+ (let (end)
(save-excursion
- (while (progn (goto-char (1- (line-end-position)))
- (looking-at break))
+ (while (= (char-before (line-end-position)) ?\\)
(forward-line))
(setq end (line-end-position))
- (replace-regexp-in-string break " " (buffer-substring start end)))))
+ (replace-regexp-in-string "\\\\\n" " " (buffer-substring start end)))))
(defun systemd-doc-find ()
"Find the value of the unit's “Documentation” keys.
- [nongnu] elpa/systemd 2b70f83 035/131: these groups need not be nested, (continued)
- [nongnu] elpa/systemd 2b70f83 035/131: these groups need not be nested, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 807c748 044/131: systemd 225, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 0f2f936 052/131: clarify parent mode hooks, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd aa9f4f6 053/131: update commentary, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd bf39be2 062/131: assimilate systemd-company.el into systemd.el, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 3580191 067/131: add autoload regex tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 16be183 084/131: don't indiscriminately use relative file name, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd f0b29ad 087/131: systemd v232 directives, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 7874a10 090/131: future flycheck has a checker for units, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd fa1277d 092/131: add reminder, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 59ce8ad 095/131: simpler while test,
ELPA Syncer <=
- [nongnu] elpa/systemd 9693935 099/131: nix extra newline, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 7bb8f09 104/131: correct syntax?, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd a4f4096 107/131: moar keywords, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd b0c1d64 109/131: add multi-line comment highlighting, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 5c9389d 110/131: move this matcher down with the other ones, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd a3d3921 111/131: extend multi-line matching to sections and keys, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd a9f82b1 124/131: add systemd-mode company backend buffer locally, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd 401d71c 122/131: Add %E, %j, %J, %T, %V specifiers, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd ec8f6cf 128/131: happy new year, ELPA Syncer, 2021/08/29
- [nongnu] elpa/systemd b6ae63a 131/131: add specifiers (leave obsoleted ones in for now), ELPA Syncer, 2021/08/29