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

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

bug#15028: 24.3.50; C-u M-x dired Lisp error: (wrong-type-argument strin


From: Glenn Morris
Subject: bug#15028: 24.3.50; C-u M-x dired Lisp error: (wrong-type-argument stringp nil)
Date: Mon, 05 Aug 2013 16:33:55 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Thomas Weickert wrote:

>   C-u M-x dired
>   with ls options '-alR' for any directory results in:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   file-name-absolute-p(nil)

I can't reproduce this, but I imagine this will fix it:

*** lisp/dired.el       2013-08-05 18:05:46 +0000
--- lisp/dired.el       2013-08-05 20:31:42 +0000
***************
*** 1225,1231 ****
        (save-excursion
        (goto-char opoint)
        (when (and (or hdr wildcard)
!                  (not (and (looking-at-p "^  \\(.*\\):$")
                             (file-name-absolute-p (match-string 1)))))
          ;; Note that dired-build-subdir-alist will replace the name
          ;; by its expansion, so it does not matter whether what we insert
--- 1225,1231 ----
        (save-excursion
        (goto-char opoint)
        (when (and (or hdr wildcard)
!                  (not (and (looking-at "^  \\(.*\\):$")
                             (file-name-absolute-p (match-string 1)))))
          ;; Note that dired-build-subdir-alist will replace the name
          ;; by its expansion, so it does not matter whether what we insert





reply via email to

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