bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#24409: 25.1.1; dired-jump: Interactive call w/ prefix arg move to wr


From: Noam Postavsky
Subject: bug#24409: 25.1.1; dired-jump: Interactive call w/ prefix arg move to wrong file line
Date: Sun, 11 Sep 2016 00:42:42 -0400

On Sun, Sep 11, 2016 at 12:33 AM, Tino Calancha <tino.calancha@gmail.com> wrote:
>    (interactive
>     (list nil (and current-prefix-arg
> -                  (read-file-name "Jump to Dired file: "))))
> +                  (expand-file-name
> +                   (read-file-name "Jump to Dired file: ")))))
>    (if (bound-and-true-p tar-subfile-mode)
>        (switch-to-buffer tar-superior-buffer)
> -    (let* ((file (or file-name buffer-file-name))
> +    (let* ((file (or (and file-name (expand-file-name file-name))
> +                     buffer-file-name))

Doesn't the second `expand-file-name` call make the first one redundant?





reply via email to

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