]> git.eshelyaron.com Git - emacs.git/commit
bug#72241: 31.0.50; [PATCH] Use a dedicated buffer for `doc-view-open-text'
authorManuel Giraud <manuel@ledu-giraud.fr>
Tue, 23 Jul 2024 14:32:30 +0000 (16:32 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 25 Jul 2024 08:40:25 +0000 (10:40 +0200)
commitfb9cad8c45a94ac26f63ec6e960a66d7eaa12383
tree875b5e43edc6147f96783eff8887829bea1c5a0e
parente5acb50511e6c610c6cdb6ad63d69ab873a8ae15
bug#72241: 31.0.50; [PATCH] Use a dedicated buffer for `doc-view-open-text'

Here is an updated version of this patch.  WDYT?

From 6e32534012cafeda1d7e67aab23a8206bc887c9f Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel@ledu-giraud.fr>
Date: Sun, 21 Jul 2024 18:52:52 +0200
Subject: [PATCH] Use a dedicated buffer for `doc-view-open-text'

* lisp/doc-view.el (doc-view-open-text): Create a new "text
contents" buffer and switch to it.
(doc-view-toggle-display): Switch back to the document buffer
and kill the "text contents" one.
* etc/NEWS: Mention the change.

(cherry picked from commit 210b98bc9937a86920716ebdf0b0e00a0c79c8fe)
etc/NEWS
lisp/doc-view.el