|
From: | daanturo |
Subject: | bug#58867: dired-readin: Wrong type argument: arrayp, nil |
Date: | Sat, 29 Oct 2022 23:50:01 +0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 |
- (while (re-search-forward "^ /" nil t 1) + (while (re-search-forward + (if (memq system-type '(windows-nt ms-dos)) + "^ \\([a-zA-Z]:/\\|//\\)" + "^ /") + nil t 1) (let ((bound (line-end-position)) (segment-start (point)) (inhibit-read-only t) - (dir "/")) + (dir (substring (match-string 1) 2))) Substring group #1 doesn't exist for the regexp "^ /", which is the case to search for non-Windows environments. -- Daanturo.
[Prev in Thread] | Current Thread | [Next in Thread] |