all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Paul Wallington <jpw@shootybangbang.com>
Subject: `compile-defun' typo
Date: Fri, 19 Jul 2002 01:32:12 +0100	[thread overview]
Message-ID: <E17VLgq-0000hT-00@bundalo.shootybangbang.com> (raw)

`compile-defun' has an obvious typo, which causes the error:

Symbol's value as variable is void: inbuffer

Is this a good fix?

2002-07-19  John Paul Wallington  <jpw@shootybangbang.com>

	* emacs-lisp/bytecomp.el (compile-defun): Bind
	`read-with-symbol-positions' to current buffer.

Index: bytecomp.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/emacs-lisp/bytecomp.el,v
retrieving revision 2.102
diff -u -r2.102 bytecomp.el
--- bytecomp.el	2 Jul 2002 18:48:34 -0000	2.102
+++ bytecomp.el	19 Jul 2002 00:26:22 -0000
@@ -1588,7 +1588,7 @@
 	   (byte-compile-last-position byte-compile-read-position)
 	   (byte-compile-last-warned-form 'nothing)
 	   (value (eval
-		   (let ((read-with-symbol-positions inbuffer)
+		   (let ((read-with-symbol-positions (current-buffer))
 			 (read-symbol-positions-list nil))
 		     (displaying-byte-compile-warnings
 		      (byte-compile-sexp (read (current-buffer))))))))

-- 
John Paul Wallington

             reply	other threads:[~2002-07-19  0:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-19  0:32 John Paul Wallington [this message]
2002-07-19 23:15 ` `compile-defun' typo Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E17VLgq-0000hT-00@bundalo.shootybangbang.com \
    --to=jpw@shootybangbang.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.