From 9ac8c1d349c5a619a6e53c3b6d9467a02280a2e3 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 7 Dec 2002 21:30:22 +0000 Subject: [PATCH] (speedbar-directory-buttons-follow): Don't use directory-sep-char. --- lisp/speedbar.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/speedbar.el b/lisp/speedbar.el index 0781c4707b3..9af94658f0b 100644 --- a/lisp/speedbar.el +++ b/lisp/speedbar.el @@ -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 -- 2.39.2