mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(speedbar-directory-buttons-follow): Don't use directory-sep-char.
This commit is contained in:
parent
13d6f3028e
commit
9ac8c1d349
@ -3553,7 +3553,7 @@ expanded. INDENT is the current indentation level."
|
||||
TEXT is the button clicked on. TOKEN is the directory to follow.
|
||||
INDENT is the current indentation level and is unused."
|
||||
(if (string-match "^[A-z]:$" token)
|
||||
(setq default-directory (concat token (char-to-string directory-sep-char)))
|
||||
(setq default-directory (concat token "/"))
|
||||
(setq default-directory token))
|
||||
;; Because we leave speedbar as the current buffer,
|
||||
;; update contents will change directory without
|
||||
|
Loading…
Reference in New Issue
Block a user