emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/files.el


From: Luc Teirlinck
Subject: [Emacs-diffs] Changes to emacs/lisp/files.el
Date: Sun, 10 Jul 2005 10:42:02 -0400

Index: emacs/lisp/files.el
diff -c emacs/lisp/files.el:1.778 emacs/lisp/files.el:1.779
*** emacs/lisp/files.el:1.778   Fri Jul  8 22:53:47 2005
--- emacs/lisp/files.el Sun Jul 10 14:42:02 2005
***************
*** 2545,2551 ****
          (if find-file-visit-truename
              (setq filename truename))))
      (if filename
!       (let ((new-name (file-name-nondirectory buffer-file-name)))
          (if (string= new-name "")
              (error "Empty file name"))))
      (let ((buffer (and filename (find-buffer-visiting filename))))
--- 2545,2551 ----
          (if find-file-visit-truename
              (setq filename truename))))
      (if filename
!       (let ((new-name (file-name-nondirectory filename)))
          (if (string= new-name "")
              (error "Empty file name"))))
      (let ((buffer (and filename (find-buffer-visiting filename))))




reply via email to

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