Commit 4bc1b836 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(help-mode): view-exit-action calls delete-window

only when it is safe and possible.
parent d5aa078b
2006-05-01 Richard Stallman <rms@gnu.org>
* help-mode.el (help-mode): view-exit-action calls delete-window
only when it is safe and possible.
* simple.el (undo-outer-limit-truncate): Put quotes around buffer name
in messages.
* emacs-lisp/warnings.el (display-warning, lwarn): Doc fixes.
* tool-bar.el (tool-bar-setup): Put Help and Preferences items
in the default tool-bar-map.
2006-05-01 Michael Albinus <michael.albinus@gmx.de>
 
* net/tramp.el (tramp-completion-file-name-handler-alist)
......@@ -16,7 +29,7 @@
2006-04-28.
(tramp-register-file-name-handlers): Register
`tramp-completion-file-name-handler' only when
`partial-completion-mode is enabled.
`partial-completion-mode is enabled.
(tramp-completion-handle-file-name-all-completions): Delete
directory part from results.
(tramp-get-completion-methods, tramp-get-completion-user-host):
......
......@@ -197,7 +197,10 @@ Commands:
(view-mode)
(make-local-variable 'view-no-disable-on-exit)
(setq view-no-disable-on-exit t)
(setq view-exit-action (lambda (buffer) (delete-window)))
(setq view-exit-action (lambda (buffer)
(or (window-minibuffer-p (selected-window))
(one-window-p t)
(delete-window))))
(run-mode-hooks 'help-mode-hook))
;;;###autoload
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment