summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrocky <rb@dustyfeet.com>2017-03-13 16:10:00 -0400
committerrocky <rb@dustyfeet.com>2017-03-13 16:10:00 -0400
commitdd1d4df6b4a14cd3510bb32d5757d55be66b276f (patch)
tree2d8dc899e98c2365f2461d80c8f39030a941e0c3
parent93cfd7d2e55b5d98cdd093df4d368668d9ec8e72 (diff)
common.mk.in: avoid having to set ELCFLAGS
lldb/init.el small improvement/buf fix
-rw-r--r--common.mk.in4
-rw-r--r--lldb/init.el2
2 files changed, 2 insertions, 4 deletions
diff --git a/common.mk.in b/common.mk.in
index 0007063..88f3a9d 100644
--- a/common.mk.in
+++ b/common.mk.in
@@ -7,7 +7,7 @@ short:
%.short:
$(MAKE) $(@:.short=) 2>&1 >/dev/null
-# This is the default taget but We need to include an EMACLOADPATH
+# This is the default target but We need to include an EMACSLOADPATH
.el.elc:
if test "$(EMACS)" != "no"; then \
am__dir=. am__subdir_includes=''; \
@@ -17,7 +17,7 @@ short:
esac; \
test -d "$$am__dir" || $(MKDIR_P) "$$am__dir" || exit 1; \
EMACSLOADPATH=$(EMACSLOADPATH) $(EMACS) --batch \
- $(AM_ELCFLAGS) $(ELCFLAGS) \
+ $(AM_ELCFLAGS) --eval "(progn(package-initialize))" \
$$am__subdir_includes -L $(builddir) -L $(srcdir) \
--eval "(defun byte-compile-dest-file (f) \"$@\")" \
--eval "(unless (byte-compile-file \"$<\") (kill-emacs 1))"; \
diff --git a/lldb/init.el b/lldb/init.el
index a8c4961..4ec505f 100644
--- a/lldb/init.el
+++ b/lldb/init.el
@@ -129,8 +129,6 @@ realgud-loc-pat struct")
(1 realgud-backtrace-number-face))
))
-(setf (gethash "lldb" realgud-pat-hash) realgud:lldb-pat-hash)
-
;; Prefix used in variable names (e.g. short-key-mode-map) for
;; this debugger
(setf (gethash "lldb" realgud:variable-basename-hash) "realgud:lldb")