[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/disk-usage 6a01954 05/26: Rename disk-usage--path-at-po
From: |
Pierre Neidhardt |
Subject: |
[elpa] externals/disk-usage 6a01954 05/26: Rename disk-usage--path-at-point -> disk-usage--file-name-at-point |
Date: |
Tue, 26 Feb 2019 03:06:36 -0500 (EST) |
branch: externals/disk-usage
commit 6a019549f2d1eb30d79d4e4b7e68a7f1bf844aab
Author: Pierre Neidhardt <address@hidden>
Commit: Pierre Neidhardt <address@hidden>
Rename disk-usage--path-at-point -> disk-usage--file-name-at-point
---
disk-usage.el | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/disk-usage.el b/disk-usage.el
index cc69541..04ebd26 100644
--- a/disk-usage.el
+++ b/disk-usage.el
@@ -398,15 +398,12 @@ Also see `disk-usage-by-types-mode'."
(kill-this-buffer))
(disk-usage (expand-file-name ".." directory))))
-(defun disk-usage--path-at-point ()
- ;; FIXME: The GNU convention is to use "path" only for lists of directories
- ;; as in `load-path' and $PATH and to use "file name" for what you here call
- ;; "path". --Stef
+(defun disk-usage--file-name-at-point ()
(let ((file-info (tabulated-list-get-id (point))))
(disk-usage--file-info-name file-info)))
(defun disk-usage--directory-at-point ()
- (let ((path (disk-usage--path-at-point)))
+ (let ((path (disk-usage--file-name-at-point)))
(if (file-directory-p path)
path
(setq path (file-name-directory path)))))
@@ -452,7 +449,7 @@ non-nil or with prefix argument."
(defun disk-usage-find-file-at-point ()
(interactive)
- (find-file (disk-usage--path-at-point)))
+ (find-file (disk-usage--file-name-at-point)))
(defun disk-usage-dired-at-point ()
(interactive)
- [elpa] externals/disk-usage c44cc97 01/26: Set default for directory-size-function dynamically, (continued)
- [elpa] externals/disk-usage c44cc97 01/26: Set default for directory-size-function dynamically, Pierre Neidhardt, 2019/02/26
- [elpa] externals/disk-usage 6846590 15/26: Add 1-hour filter, Pierre Neidhardt, 2019/02/26
- [elpa] externals/disk-usage 1d85ea5 10/26: Fix missing total-size in header, Pierre Neidhardt, 2019/02/26
- [elpa] externals/disk-usage 0feb208 18/26: Message instead of warning when no filters, Pierre Neidhardt, 2019/02/26
- [elpa] externals/disk-usage aa7d267 17/26: Document filters, Pierre Neidhardt, 2019/02/26
- [elpa] externals/disk-usage bcae407 21/26: Replace (delq (mapcar ...)) with cl-loop, Pierre Neidhardt, 2019/02/26
- [elpa] externals/disk-usage 54d4aee 25/26: Propertize size, percent and children columns, Pierre Neidhardt, 2019/02/26
- [elpa] externals/disk-usage 8bf5d5c 08/26: Break some long lines, Pierre Neidhardt, 2019/02/26
- [elpa] externals/disk-usage 0fff6a8 12/26: Fix 'nil' children issue on inaccessible directories, Pierre Neidhardt, 2019/02/26
- [elpa] externals/disk-usage a53be8d 26/26: Version 1.2.0, Pierre Neidhardt, 2019/02/26
- [elpa] externals/disk-usage 6a01954 05/26: Rename disk-usage--path-at-point -> disk-usage--file-name-at-point,
Pierre Neidhardt <=
- [elpa] externals/disk-usage 364c62b 20/26: Bind "a" and "A" to filter commands in disk-usage-by-types, Pierre Neidhardt, 2019/02/26
- [elpa] externals/disk-usage 6a214bc 09/26: Add many docstrings, Pierre Neidhardt, 2019/02/26
- [elpa] externals/disk-usage 488ddc8 14/26: Add support for filters, Pierre Neidhardt, 2019/02/26
- [elpa] externals/disk-usage 7708379 07/26: Use process-file instead of call-process, Pierre Neidhardt, 2019/02/26
- [elpa] externals/disk-usage 7b14829 22/26: Normalize filter names, Pierre Neidhardt, 2019/02/26
- [elpa] externals/disk-usage 2d36a87 04/26: Fix disk-usage--path-at-point to return directory, Pierre Neidhardt, 2019/02/26