[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master acfb5cd: Improve XEmacs compatibility of Tramp
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] master acfb5cd: Improve XEmacs compatibility of Tramp |
Date: |
Sun, 04 Oct 2015 21:06:14 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>>> + ;; `directory-listing-before-filename-regexp' does not exist in
>>> + ;; XEmacs. Since we use it only in tramp-adb.el, it doesn't harm to
>>> + ;; declare it here.
>>> + (unless (boundp 'directory-listing-before-filename-regexp)
>>> + (defvar directory-listing-before-filename-regexp nil))
>> Why not do
>> (defvar directory-listing-before-filename-regexp)
>> at top-level, which AFAIK works in all emacsen and is less harmful?
> I've tried this first. XEmacs denies to cooperate.
In which sense does it deny to cooperate?
[ You do need to put the declaration in the file where it's used (rather
than in tramp-compat.el), of course. ]
Stefan