[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] scratch/dired-git-info 4f6d0ca 24/33: Boolean vars shouldn't have
From: |
Clemens Radermacher |
Subject: |
[elpa] scratch/dired-git-info 4f6d0ca 24/33: Boolean vars shouldn't have a -p suffix |
Date: |
Sun, 17 Feb 2019 13:03:31 -0500 (EST) |
branch: scratch/dired-git-info
commit 4f6d0ca794977e69e70aa595194bf87de354d6a8
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>
Boolean vars shouldn't have a -p suffix
---
dired-git-info.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dired-git-info.el b/dired-git-info.el
index f42ce63..1bb89b5 100644
--- a/dired-git-info.el
+++ b/dired-git-info.el
@@ -79,7 +79,7 @@ are (see git-log PRETTY FORMATS for all):
(defvar-local dgi--commit-ovs nil
"Overlays which show the commit messages.")
-(defvar dgi--restore-no-details-p nil
+(defvar dgi--restore-no-details nil
"If no details view has to be restored.")
(defun dgi--command-to-string (program &rest args)
@@ -130,8 +130,8 @@ info format and defaults to `dgi-commit-message-format'."
(defun dgi--cleanup ()
"Remove commit overlays."
- (when dgi--restore-no-details-p
- (setq dgi--restore-no-details-p nil)
+ (when dgi--restore-no-details
+ (setq dgi--restore-no-details nil)
(dired-hide-details-mode -1))
(dolist (ov dgi--commit-ovs)
(delete-overlay ov))
@@ -185,7 +185,7 @@ info format and defaults to `dgi-commit-message-format'."
(dgi--cleanup)
(when dgi-auto-hide-details-p
(unless dired-hide-details-mode
- (setq dgi--restore-no-details-p t)
+ (setq dgi--restore-no-details t)
(dired-hide-details-mode 1)))
(let* ((files (dgi--save-marked
(dired-unmark-all-marks)
- [elpa] scratch/dired-git-info 2ea5107 29/33: Rephrase commentary, (continued)
- [elpa] scratch/dired-git-info 2ea5107 29/33: Rephrase commentary, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info b5551e7 30/33: Convert entry command to minor mode, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info 7755019 32/33: Get commit info from real file name, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info f539ba5 08/33: Align message parts of commit messages, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info 8afe378 09/33: Update docstring for message format, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info f9f8ab5 17/33: Cleanup, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info 0f7625c 14/33: Make overlays buffer local, to allow multiple dired buffers, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info aa8248a 21/33: Use temp buffer, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info c8e3b2e 13/33: Add docstrings, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info 95688b3 20/33: Add group, keywords and make options customizeable, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info 4f6d0ca 24/33: Boolean vars shouldn't have a -p suffix,
Clemens Radermacher <=
- [elpa] scratch/dired-git-info 6115ae1 03/33: Fix package name in comment, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info 740e1cf 27/33: Fix copyright, Clemens Radermacher, 2019/02/17
- [elpa] scratch/dired-git-info d8b777d 31/33: Cleanup, Clemens Radermacher, 2019/02/17