|
From: | Drew Adams |
Subject: | bug#39902: 28.0.50; Marking in dired with active region |
Date: | Tue, 10 Mar 2020 17:29:55 -0700 (PDT) |
> +(defcustom dired-mark-inclusive nil > + "Non-nil means `dired-mark' marks file on the region end." > + :type 'boolean > + :version "28.1" > + :group 'dired) > + (progn (goto-char end) > + (if (and dired-mark-inclusive > + (or (eolp) (get-text-property (point) 'dired- > filename))) > + (line-end-position) > + (line-beginning-position))))))) I see no reason for such an option. And no reason for the broken default behavior that the original complaint was about. Is using `line-beginning-position' here really something you think is useful? My vote is to use what I suggested, or similar: (progn (goto-char end) (when (bolp) (backward-char)) (line-end-position))
[Prev in Thread] | Current Thread | [Next in Thread] |