Function: shadow-find-file-noselect

shadow-find-file-noselect is a byte-compiled function defined in shadowfile.el.gz.

Signature

(shadow-find-file-noselect FILENAME &optional NOWARN)

Documentation

Like find-file-noselect, but make buffer name ephemeral.

Source Code

;; Defined in /usr/src/emacs/lisp/shadowfile.el.gz
(defun shadow-find-file-noselect (filename &optional nowarn)
  "Like `find-file-noselect', but make buffer name ephemeral."
  (with-current-buffer (find-file-noselect filename nowarn)
    (rename-buffer (format " *%s*" (buffer-name)))
    (current-buffer)))