all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to patch diff into source code?
@ 2009-01-21  2:08 Xah Lee
  2009-01-21 21:29 ` Lennart Borgman
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Xah Lee @ 2009-01-21  2:08 UTC (permalink / raw)
  To: help-gnu-emacs

could anyone help me with a diff/patch question?

i got the following patch:

--- lisp\textmodes\css-mode.el.orig	2008-03-01 20:28:16.000000000
+0100
+++ lisp\textmodes\css-mode.el	2009-01-19 09:14:55.138125000 +0100
@@ -369,5 +369,5 @@
                           (forward-comment (- (point-max)))
                           ;; FIXME: We should also skip punctuation.
-                          (not (memq (char-before) '(?\; ?\
{)))))))))))
+                          (not (or (bobp) (memq (char-before) '(?\;
?\{))))))))))))

 (defun css-forward-sexp (n)

how do i use diff (or other?) to merge it into source?
i've never used diff for patching.

i just found and used menu Tools‣Apply Patch, but then i got

patching file /Users/xah/web/emacs/css-mode.el
patch: **** malformed patch at line 8: ?\{))))))))))))

is it something i did wrong or the patch?

Thanks.

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-01-21 23:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21  2:08 how to patch diff into source code? Xah Lee
2009-01-21 21:29 ` Lennart Borgman
2009-01-21 21:30 ` Xah Lee
2009-01-21 22:55 ` Ian Eure
2009-01-21 23:23 ` Juanma Barranquero
     [not found] ` <mailman.5472.1232580233.26697.help-gnu-emacs@gnu.org>
2009-01-21 23:33   ` Xah Lee

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.