title: How to prevent peep-dired files processed and listed in recentf list?
body: <p>Emacs Recentf builds a list of recently opened files for easier access later access.  If I use peep-dired to preview files, the recentf list will be flooded with peep-dired list.  Is there a better way to excluded the files if they are from a peep-dired process?</p>
  
  <p>I have tried sth like the following with no luck.</p>
  
  <pre class="lang-lisp prettyprint-override"><code>(define-globalized-minor-mode my-global-recentf-mode recentf-mode
    (lambda ()
        (unless (or (minibufferp)
            (derived-mode-p 'dired-mode 'peep-dired-mode 'super-save-mode))
            (recentf-mode 1))))
  (my-global-recentf-mode 1)
  '
  </code></pre>