all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Kastrup <dak@gnu.org>
To: emacs-devel@gnu.org
Subject: Any problem with this patch?
Date: Fri, 23 Mar 2007 09:59:14 +0100	[thread overview]
Message-ID: <85ps70ibdp.fsf@lola.goethe.zz> (raw)

[-- Attachment #1: Type: text/plain, Size: 200 bytes --]


I did not try it since I don't do much C editing, but it removes a
byte compiler warning and seems saner to me.

If anybody using CC mode would verify that this causes no problems,
I'd be grateful.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 724 bytes --]

*** cc-mode.el	12 Mar 2007 20:24:08 +0100	1.55
--- cc-mode.el	23 Mar 2007 09:56:24 +0100	
***************
*** 158,165 ****
  ;; These are typically standard emacs variables such as `comment-start'.
  (defmacro c-make-emacs-variables-local ()
    `(progn
!      ,@(mapcan (lambda (init)
! 		 `((make-local-variable ',(car init))))
  	       (cdr c-emacs-variable-inits))))
  
  (defun c-init-language-vars-for (mode)
--- 158,165 ----
  ;; These are typically standard emacs variables such as `comment-start'.
  (defmacro c-make-emacs-variables-local ()
    `(progn
!      ,@(mapcar (lambda (init)
! 		 `(make-local-variable ',(car init)))
  	       (cdr c-emacs-variable-inits))))
  
  (defun c-init-language-vars-for (mode)

[-- Attachment #3: Type: text/plain, Size: 52 bytes --]



-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum

[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

             reply	other threads:[~2007-03-23  8:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-23  8:59 David Kastrup [this message]
2007-03-23  9:18 ` Any problem with this patch? Herbert Euler
2007-03-23  9:27   ` David Kastrup
2007-03-23  9:33     ` Herbert Euler
2007-03-23  9:46       ` David Kastrup
2007-03-23  9:19 ` Herbert Euler

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=85ps70ibdp.fsf@lola.goethe.zz \
    --to=dak@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.