all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Any problem with this patch?
@ 2007-03-23  8:59 David Kastrup
  2007-03-23  9:18 ` Herbert Euler
  2007-03-23  9:19 ` Herbert Euler
  0 siblings, 2 replies; 6+ messages in thread
From: David Kastrup @ 2007-03-23  8:59 UTC (permalink / raw)
  To: emacs-devel

[-- 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-03-23  9:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-23  8:59 Any problem with this patch? David Kastrup
2007-03-23  9:18 ` 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

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.