help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [External] : Re: Dired: how to mark with other character but *


From: Drew Adams
Subject: RE: [External] : Re: Dired: how to mark with other character but *
Date: Mon, 1 Feb 2021 17:09:05 +0000

> There isn't one.  But you could define one.

(defun diredp-mark-with-char (char &optional arg)
  "Mark this line with CHAR.
With numeric prefix arg N, mark the next N lines."
  (interactive "cMark this line with char: \np")
  (let ((dired-marker-char  char)) (dired-mark arg)))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]