diff options
| author | Juri Linkov | 2024-04-02 20:17:41 +0300 |
|---|---|---|
| committer | Juri Linkov | 2024-04-02 20:19:21 +0300 |
| commit | c3781bf59edcd67769d068b5bc8f724e890d8e54 (patch) | |
| tree | aee8de9af7e98e433d2ba873c3467f42a108729a /java | |
| parent | 617debf67392946b4b42fdf364c69da6f094a840 (diff) | |
| download | emacs-c3781bf59edcd67769d068b5bc8f724e890d8e54.tar.gz emacs-c3781bf59edcd67769d068b5bc8f724e890d8e54.zip | |
New functions to set and use context of window points (bug#33871)
* lisp/dired.el (dired-mode): Set buffer-local
'window-point-context-set-function' to remember 'dired-filename'
or 'position' in the window with the Dired buffer.
Set buffer-local 'window-point-context-use-function' to restore
the remembered position of the window point.
* lisp/tab-bar.el (tab-bar--tab): Use window-point-context-set.
(tab-bar-select-restore-context): New user option.
(tab-bar-select-tab): Use window-point-context-use.
* lisp/window.el: Add '(context . writable)' to
'window-persistent-parameters'.
(window-point-context-set, window-point-context-use): New functions.
(window-point-context-set-default-function)
(window-point-context-use-default-function): New functions.
(window-point-context-set-function)
(window-point-context-use-function): New variables.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions