emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/gnugo a38cd9e 348/357: [gnugo int] Comment munging; nfc


From: Stefan Monnier
Subject: [elpa] externals/gnugo a38cd9e 348/357: [gnugo int] Comment munging; nfc.
Date: Sun, 29 Nov 2020 14:51:54 -0500 (EST)

branch: externals/gnugo
commit a38cd9e6f4ad2fb54ae3abc2ce667631afbe7592
Author: Thien-Thi Nguyen <ttn@gnu.org>
Commit: Thien-Thi Nguyen <ttn@gnu.org>

    [gnugo int] Comment munging; nfc.
---
 gnugo.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnugo.el b/gnugo.el
index 59e14a4..2dd27fb 100644
--- a/gnugo.el
+++ b/gnugo.el
@@ -2157,6 +2157,7 @@ NOTE: At this time, GTP command handling specification is 
still
   "Major mode for playing GNU Go.
 Entering this mode runs the normal hook `gnugo-board-mode-hook'.
 In this mode, keys do not self insert (see `gnugo-board-mode-map')."
+  ;; hint: (search-forward "define-key gnugo-board-mode-map")
   :syntax-table nil
   :abbrev-table nil
   (buffer-disable-undo)                 ; todo: undo undo undoing
@@ -2421,6 +2422,10 @@ See `gnugo-board-mode' for a full list of commands."
                  (t (validpos (car sel) t)))))))))
 
 ;; Respect user customizations; try not to clobber the keymap on reload.
+;; This (top-level, conditionalized, late-in-file) form is not "idiomatic",
+;; but it does avoid forward references [which are ugly, IMHO --ttn].
+;; TODO: Link to emacs-devel thread, here.
+;;
 ;; hacker override:        (define-key gnugo-board-mode-map "?" nil)
 (unless (eq 'describe-mode (lookup-key gnugo-board-mode-map "?"))
   (cl-loop



reply via email to

[Prev in Thread] Current Thread [Next in Thread]