Function: dired-mark-symlinks

dired-mark-symlinks is an interactive and byte-compiled function defined in dired.el.gz.

Signature

(dired-mark-symlinks UNFLAG-P)

Documentation

Mark all symbolic links.

With prefix argument, unmark or unflag all those files. If the region is active in Transient Mark mode, mark files only in the active region if dired-mark-region is non-nil.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defun dired-mark-symlinks (unflag-p)
  "Mark all symbolic links.
With prefix argument, unmark or unflag all those files.
If the region is active in Transient Mark mode, mark files
only in the active region if `dired-mark-region' is non-nil."
  (interactive "P" dired-mode)
  (let ((dired-marker-char (if unflag-p ?\s dired-marker-char)))
    (dired-mark-if (looking-at-p dired-re-sym) "symbolic link")))