From: Richard M. Stallman Date: Sat, 7 Dec 2002 21:30:22 +0000 (+0000) Subject: (speedbar-directory-buttons-follow): Don't use directory-sep-char. X-Git-Tag: ttn-vms-21-2-B4~12119 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9ac8c1d349c5a619a6e53c3b6d9467a02280a2e3;p=emacs.git (speedbar-directory-buttons-follow): Don't use directory-sep-char. --- 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