all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jemarch@gnu.org
To: emacs-devel@gnu.org
Subject: [PATCH] Remap move-(beginning|end)-of-line in gomoku.el
Date: Tue, 08 Dec 2009 12:07:19 +0100	[thread overview]
Message-ID: <87skblrafs.wl%jemarch@gnu.org> (raw)


Hi.

Just a tiny patch that makes C-a and C-e to work properly in
gomoku.el.

2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>

	* play/gomoku.el (gomoku-mode-map): Remap
	`move-(beginning|end)-of-line' instead of
	`(beginning|end)-of-line'.

Index: lisp/play/gomoku.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/play/gomoku.el,v
retrieving revision 1.58
diff -u -r1.58 gomoku.el
--- lisp/play/gomoku.el	3 Nov 2009 02:04:35 -0000	1.58
+++ lisp/play/gomoku.el	8 Dec 2009 11:01:43 -0000
@@ -151,8 +151,8 @@
 
   (define-key gomoku-mode-map [remap previous-line] 'gomoku-move-up)
   (define-key gomoku-mode-map [remap next-line] 'gomoku-move-down)
-  (define-key gomoku-mode-map [remap beginning-of-line] 'gomoku-beginning-of-line)
-  (define-key gomoku-mode-map [remap end-of-line] 'gomoku-end-of-line)
+  (define-key gomoku-mode-map [remap move-beginning-of-line] 'gomoku-beginning-of-line)
+  (define-key gomoku-mode-map [remap move-end-of-line] 'gomoku-end-of-line)
   (define-key gomoku-mode-map [remap undo] 'gomoku-human-takes-back)
   (define-key gomoku-mode-map [remap advertised-undo] 'gomoku-human-takes-back))
 




             reply	other threads:[~2009-12-08 11:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-08 11:07 jemarch [this message]
2009-12-08 11:28 ` [PATCH] Remap move-(beginning|end)-of-line in gomoku.el Juanma Barranquero

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=87skblrafs.wl%jemarch@gnu.org \
    --to=jemarch@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.