aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2024-10-06 23:04:03 +0100
committerArun Isaac2024-10-06 23:04:03 +0100
commitb88ea762f7f0c321176ffd0d5d47c89d6971faf7 (patch)
treefefaa45a42523430b344356a0069a8e484f9b117
parentdd00b15016443aaa6126ba11438bc77ef51ab886 (diff)
downloadvaruga-b88ea762f7f0c321176ffd0d5d47c89d6971faf7.tar.gz
varuga-b88ea762f7f0c321176ffd0d5d47c89d6971faf7.tar.lz
varuga-b88ea762f7f0c321176ffd0d5d47c89d6971faf7.zip
Do not use progn for else clause in if condition.
* varuga.el (varuga-insert-calendar-line): Do not use progn for else clause in if condition.
-rw-r--r--varuga.el9
1 files changed, 4 insertions, 5 deletions
diff --git a/varuga.el b/varuga.el
index 5376c93..78f3f3b 100644
--- a/varuga.el
+++ b/varuga.el
@@ -91,11 +91,10 @@ KEY is the name of the ical property and VALUE is its value."
(progn
(insert str)
(setq octets-so-far next-octets))
- (progn
- (insert "\n ")
- ;; Set octets so far to 1 to account for the
- ;; folding space.
- (setq octets-so-far 1)))))
+ (insert "\n ")
+ ;; Set octets so far to 1 to account for the
+ ;; folding space.
+ (setq octets-so-far 1))))
(format "%s:%s"
(upcase (symbol-name key))
value)))