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

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

[elpa] master f8d36ba 198/215: Don't bind standard keys when disabled by


From: Rocky Bernstein
Subject: [elpa] master f8d36ba 198/215: Don't bind standard keys when disabled by config (#131)
Date: Sat, 30 Jul 2016 14:49:06 +0000 (UTC)

branch: master
commit f8d36bac68115dc15acee0a8e93dead6063aab52
Author: Derek <address@hidden>
Commit: Clément Pit--Claudel <address@hidden>

    Don't bind standard keys when disabled by config (#131)
    
    The realgud-populate-common-fn-keys-standard map function was always
    run, even when realgud-populate-common-fn-keys-function was configured
    as nil. Fixes #129
---
 realgud/common/key.el |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/realgud/common/key.el b/realgud/common/key.el
index 19dd397..86357fd 100644
--- a/realgud/common/key.el
+++ b/realgud/common/key.el
@@ -92,9 +92,7 @@ source-code buffers
 The variable `realgud-populate-common-fn-keys-function' controls the layout."
   (define-key map "\C-x\C-a\C-q" 'realgud-short-key-mode)
   (if realgud-populate-common-fn-keys-function
-      (funcall realgud-populate-common-fn-keys-function map))
-  (realgud-populate-common-fn-keys-standard map)
-)
+      (funcall realgud-populate-common-fn-keys-function map)))
 
 (defun realgud-populate-src-buffer-map-plain (map)
   "Bind ordinary text characters used in debugger source-code buffers.



reply via email to

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