Commit 969ef2b7 authored by Carsten Dominik's avatar Carsten Dominik
Browse files

(org-file-remote-p): Get regexp from list.

(org-archive-subtree): remove erraneous `]' from character list.
parent 86cc4a71
......@@ -4569,7 +4569,7 @@ this heading. "
;; Make the subtree visible
(show-subtree)
(org-end-of-subtree t)
(skip-chars-backward " \t\r\n]")
(skip-chars-backward " \t\r\n")
(and (looking-at "[ \t\r\n]*")
(replace-match "\n\n")))
;; No specific heading, just go to end of file.
......@@ -9816,7 +9816,7 @@ on the system \"/user@host:\"."
((fboundp 'tramp-handle-file-remote-p)
(tramp-handle-file-remote-p file))
((and (boundp 'ange-ftp-name-format)
(string-match ange-ftp-name-format file))
(string-match (car ange-ftp-name-format) file))
t)
(t nil)))
 
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment