|
From: | 積丹尼 Dan Jacobson |
Subject: | bug#35579: Add example of setting view-exit-action to a "function with one argument" |
Date: | Tue, 07 May 2019 08:49:41 +0800 |
I finally found an example: (setq view-exit-action (lambda (buffer) (or (window-minibuffer-p (selected-window)) (when (eq (window-buffer) (get-buffer "*Help*")) (if (one-window-p t) (delete-frame) (delete-window)))))) So I think view-exit-action's docstring should have and example of what they are expecting.
[Prev in Thread] | Current Thread | [Next in Thread] |