[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/wfnames 924319f51a 23/98: Fixup comments
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/wfnames 924319f51a 23/98: Fixup comments |
Date: |
Tue, 8 Aug 2023 04:01:13 -0400 (EDT) |
branch: elpa/wfnames
commit 924319f51a1a482486c6d950ed8bbd0358b7a662
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Fixup comments
---
helm-edit-marked.el | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/helm-edit-marked.el b/helm-edit-marked.el
index 975d3bd62a..2d3969f236 100644
--- a/helm-edit-marked.el
+++ b/helm-edit-marked.el
@@ -81,7 +81,7 @@ Special commands:
(end (point-at-eol))
(old (get-text-property (point) 'old-name))
(new (buffer-substring-no-properties beg end)))
- (unless (string= old new) ; not modified.
+ (unless (string= old new) ; not modified, skip.
(cond (;; New file exists and is one of the
;; next files to rename, make a temp
;; file of OLD and assign this temp
@@ -106,11 +106,11 @@ Special commands:
(add-text-properties
beg end `(old-name ,new))
(cl-incf skipped)))
- ;; New file exists but is not part of
- ;; the next files to rename, make a
- ;; temp file of NEW and delay renaming
- ;; to next turn.
- ((and (file-exists-p new)
+ (;; New file exists but is not part of
+ ;; the next files to rename, make a
+ ;; temp file of NEW and delay renaming
+ ;; to next turn.
+ (and (file-exists-p new)
(not (assoc new delayed)))
;; Maybe ask.
(if (or (null
helm-ff-edit-marked-interactive-rename)
@@ -125,8 +125,7 @@ Special commands:
(add-text-properties
beg end `(old-name ,new))
(cl-incf skipped)))
- ;; Now really rename files.
- (t
+ (t ; Now really rename files.
(when
helm-ff-edit-marked-create-parent-directories
;; Check if base directory of new exists.
(let ((basedir (helm-basedir new 'parent)))
- [nongnu] elpa/wfnames d3f69bdf68 33/98: Add README, (continued)
- [nongnu] elpa/wfnames d3f69bdf68 33/98: Add README, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames 20c12aefce 21/98: Add interactive renaming, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames f4d9e77e86 25/98: Fix renaming directories, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames 6f35a52e39 28/98: Rename all to wfnames prefix, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames 2cf98cdf92 39/98: Long lines only, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames c665261bae 09/98: No need to call helm-marked-candidates with wildcard arg, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames 14545063a4 01/98: Initial commit, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames d5a87a00c2 08/98: Add TODO comment, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames c36c387f1c 13/98: Fix paren error (again), ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames ccf3696257 12/98: Update TODO, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames 924319f51a 23/98: Fixup comments,
ELPA Syncer <=
- [nongnu] elpa/wfnames 8e34c7bb75 18/98: Reindent, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames 73104c1cbd 29/98: Fix group and use someting else than helm-basedir, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames 2e9f34d939 20/98: Handle directories rename, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames d034d09e6d 36/98: Restore props after changes made by something else than self-insert-command, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames 810aea61db 38/98: Long lines only, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames ac577774ef 40/98: Revert "Handle backup overwrite", ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames f510d716b6 43/98: Fix interactive rename, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames 221ac4691f 52/98: Add face to prefix filenames in wfnames buffer, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames 860512b33c 58/98: Merge branch 'devel' into main, ELPA Syncer, 2023/08/08
- [nongnu] elpa/wfnames 056e032d18 60/98: Save all overwrites in an alist, ELPA Syncer, 2023/08/08