From: "Stefan-W. Hahn" <stefan.hahn@s-hahn.de>
To: npostavs@users.sourceforge.net
Cc: 27408@debbugs.gnu.org
Subject: bug#27408: 26.0.50; macro setq-local does not have a debug declaration
Date: Sun, 18 Jun 2017 09:13:59 +0200 [thread overview]
Message-ID: <20170618071359.GE7178@seven> (raw)
In-Reply-To: <8737ays8id.fsf@users.sourceforge.net>
[-- Attachment #1: Type: text/plain, Size: 456 bytes --]
Mail von npostavs@users.sourceforge.net, Sat, 17 Jun 2017 at 15:45:46 -0400:
Hello,
> > (defmacro setq-local (var val)
>
> I get a compile failure after applying this:
Sorry for that. I didn't compile, hups...
Attached is a corrected version which does compile without errors.
With kind regards,
Stefan
--
Stefan-W. Hahn It is easy to make things.
It is hard to make things simple.
[-- Attachment #2: Corretion of Patch --]
[-- Type: text/x-diff, Size: 839 bytes --]
From 9c79bbb31395e1ac0236f4bcb46a59e7e2abafeb Mon Sep 17 00:00:00 2001
From: "Stefan-W. Hahn" <stefan.hahn@s-hahn.de>
Date: Sun, 18 Jun 2017 09:09:19 +0200
Subject: Added missing debug declaration
* lisp/subr.el (setq-local):
Added debug declaration.
Copyright-paperwork-exempt: yes
---
lisp/subr.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/subr.el b/lisp/subr.el
index ef00286..d0c8517 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -121,6 +121,7 @@ lambda
(defmacro setq-local (var val)
"Set variable VAR to value VAL in current buffer."
;; Can't use backquote here, it's too early in the bootstrap.
+ (declare (debug (symbolp form)))
(list 'set (list 'make-local-variable (list 'quote var)) val))
(defmacro defvar-local (var val &optional docstring)
--
2.9.0.137.gcf4c2cf
next prev parent reply other threads:[~2017-06-18 7:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-17 13:44 bug#27408: 26.0.50; macro setq-local does not have a debug declaration Stefan-W. Hahn
2017-06-17 19:45 ` npostavs
2017-06-18 7:13 ` Stefan-W. Hahn [this message]
2017-06-25 17:55 ` npostavs
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=20170618071359.GE7178@seven \
--to=stefan.hahn@s-hahn.de \
--cc=27408@debbugs.gnu.org \
--cc=npostavs@users.sourceforge.net \
/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.