]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/subr.el (internal-temp-output-buffer-show): Rename from
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 23 Oct 2012 01:18:47 +0000 (21:18 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 23 Oct 2012 01:18:47 +0000 (21:18 -0400)
temp-output-buffer-show, since previously compiled files expect this name.

lisp/ChangeLog
lisp/subr.el

index 5d527dcd3303c41d06b19c4769a607297fa61c3d..3a196095597c4c0ae08b51ae2d06e9cc770f9f1f 100644 (file)
@@ -1,3 +1,8 @@
+2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (internal-temp-output-buffer-show): Rename from
+       temp-output-buffer-show, since previously compiled files expect this name.
+
 2012-10-23  Glenn Morris  <rgm@gnu.org>
 
        * image.el (image-type-from-file-name): If multiple types match,
index ec2d16e652960fe2868b2d751aeb301e2a8d582c..0f30976b023571ae1bdf66a1f451d20a312c830b 100644 (file)
@@ -3151,7 +3151,7 @@ in which case `save-window-excursion' cannot help."
        (unwind-protect (progn ,@body)
          (set-window-configuration ,c)))))
 
-(defun temp-output-buffer-show (buffer)
+(defun internal-temp-output-buffer-show (buffer)
   "Internal function for `with-output-to-temp-buffer'."
   (with-current-buffer buffer
     (set-buffer-modified-p nil)
@@ -3235,7 +3235,7 @@ if it uses `temp-buffer-show-function'."
                    (run-hooks 'temp-buffer-setup-hook)))))
             (standard-output ,buf))
        (prog1 (progn ,@body)
-         (temp-output-buffer-show ,buf)))))
+         (internal-temp-output-buffer-show ,buf)))))
 
 (defmacro with-temp-file (file &rest body)
   "Create a new buffer, evaluate BODY there, and write the buffer to FILE.