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

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

[elpa] externals/realgud 296a802 106/140: Hoist syntax-checking kbd comm


From: Rocky Bernstein
Subject: [elpa] externals/realgud 296a802 106/140: Hoist syntax-checking kbd command
Date: Sat, 25 May 2019 19:35:43 -0400 (EDT)

branch: externals/realgud
commit 296a802b349da310350a79d95e976dda5b3d26a7
Author: rocky <address@hidden>
Commit: rocky <address@hidden>

    Hoist syntax-checking kbd command
---
 realgud/debugger/trepanjs/track-mode.el | 8 +-------
 realgud/lang/js.el                      | 6 ++++++
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/realgud/debugger/trepanjs/track-mode.el 
b/realgud/debugger/trepanjs/track-mode.el
index 7a4d847..2b9a680 100644
--- a/realgud/debugger/trepanjs/track-mode.el
+++ b/realgud/debugger/trepanjs/track-mode.el
@@ -45,14 +45,8 @@
 
 (declare-function realgud:ruby-populate-command-keys 'realgud-lang-ruby)
 
-(defun realgud:trepanjs-goto-syntax-error-line (pt)
-  "Display the location mentioned in a Syntax error line
-described by PT."
-  (interactive "d")
-  (realgud-goto-line-for-pt pt "syntax-error"))
-
 (define-key trepanjs-track-mode-map
-  (kbd "C-c !s") 'realgud:trepanjs-goto-syntax-error-line)
+  (kbd "C-c !s") 'realgud:js-goto-syntax-error-line)
 
 (defun trepanjs-track-mode-hook()
   (if trepanjs-track-mode
diff --git a/realgud/lang/js.el b/realgud/lang/js.el
index adda84e..0c7305f 100644
--- a/realgud/lang/js.el
+++ b/realgud/lang/js.el
@@ -58,5 +58,11 @@
   (interactive "d")
   (realgud-goto-line-for-pt pt "file-line"))
 
+(defun realgud:js-goto-syntax-error-line (pt)
+  "Display the location mentioned in a Syntax error line
+described by PT."
+  (interactive "d")
+  (realgud-goto-line-for-pt pt "syntax-error"))
+
 
 (provide-me "realgud-lang-")



reply via email to

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