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

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

[elpa] master e1fff79 1/2: [gnugo int] Comment munging; nfc.


From: Thien-Thi Nguyen
Subject: [elpa] master e1fff79 1/2: [gnugo int] Comment munging; nfc.
Date: Thu, 16 Feb 2017 03:50:44 -0500 (EST)

branch: master
commit e1fff79d35b60c8d975b77bfd316c03bfc52bf72
Author: Thien-Thi Nguyen <address@hidden>
Commit: Thien-Thi Nguyen <address@hidden>

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

diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el
index 59e14a4..2dd27fb 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/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]