Function: dired--hide

dired--hide is a byte-compiled function defined in dired.el.gz.

Signature

(dired--hide START END)

Source Code

;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defun dired--hide (start end)
  ;; The old code used selective-display which only works at
  ;; a line-granularity, so it used start and end positions that where
  ;; approximate ("anywhere on the line is fine").
  (save-excursion
    (put-text-property (progn (goto-char start) (line-end-position))
                       (progn (goto-char end) (line-end-position))
                       'invisible 'dired)))