master 4b61c48986d: with-output-to-temp-buffer: Call delete-all-overlays.

Sean Whitton <[email protected]>
Newsgroups gmane.emacs.diffs
Message-ID <[email protected]>
branch: master
commit 4b61c48986dd2a4c703addb5c46d05179f4ae4e8
Author: Joshua Murphy <[email protected]>
Commit: Sean Whitton <[email protected]>

    with-output-to-temp-buffer: Call delete-all-overlays.
    
    * lisp/subr.el (with-output-to-temp-buffer): Call
    delete-all-overlays (bug#81284).
    
    Copyright-paperwork-exempt: yes
---
 lisp/subr.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/subr.el b/lisp/subr.el
index 2f8870506bf..03fcd1927c2 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -5415,7 +5415,7 @@ See the related form `with-temp-buffer-window'."
              (with-current-buffer (get-buffer-create ,bufname)
                (prog1 (current-buffer)
                  (kill-all-local-variables)
-                 ;; FIXME: delete_all_overlays
+                 (delete-all-overlays)
                  (setq default-directory ,old-dir)
                  (setq buffer-read-only nil)
                  (setq buffer-file-name nil)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.