bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50187: 28.0.50; tramp is called from calendar


From: Gregory Heytings
Subject: bug#50187: 28.0.50; tramp is called from calendar
Date: Fri, 16 Sep 2022 10:04:57 +0000



If starting calendar while in a Tramp buffer is problematic for you, then I think the solution is to not do that, I'm afraid.


Or to use this, for example:

(advice-add
 'calendar :around
 (lambda (fun &rest args)
   (let ((default-directory
          (if (file-remote-p default-directory)
              "~/"
            default-directory)))
     (apply fun args))))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]