branch: externals/realgud
commit 814aebb979666f68655123808df651b78834ef04
Author: rocky <[email protected]>
Commit: rocky <[email protected]>
Make sure to autoload attach functions
---
realgud.el | 1 +
realgud/common/attach.el | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/realgud.el b/realgud.el
index d15b324..eb597bc 100644
--- a/realgud.el
+++ b/realgud.el
@@ -91,6 +91,7 @@
(progn
(require-relative-list
'(
+ "./realgud/common/attach"
"./realgud/common/track-mode"
"./realgud/common/utils"
"./realgud/debugger/bashdb/bashdb"
diff --git a/realgud/common/attach.el b/realgud/common/attach.el
index aefd62f..971da46 100644
--- a/realgud/common/attach.el
+++ b/realgud/common/attach.el
@@ -1,4 +1,4 @@
-;; Copyright (C) 2015-2016 Free Software Foundation, Inc
+;; Copyright (C) 2015-2016, 2019 Free Software Foundation, Inc
;; Author: Rocky Bernstein <[email protected]>
@@ -27,6 +27,7 @@
(declare-function realgud-srcbuf-init-or-update 'realgud-source)
(declare-function realgud-short-key-mode-setup 'realgud-shortkey)
+;;;###autoload
(defun realgud:attach-source-buffer(srcbuf)
"Associate a source buffer with the current command buffer"
(interactive "bsource buffer: ")
@@ -47,6 +48,7 @@
)
)
+;;;###autoload
(defun realgud:attach-command-buffer(cmdbuf)
"Associate a command buffer with the current source buffer"