Skip to content

Commit 42d5c09

Browse files
committed
Experimentation of compilation when bytecompiling
1 parent e0dca57 commit 42d5c09

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gdb-mi.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@
3333
(require 'hydra)
3434

3535
(eval-and-compile
36-
(unless (bound-and-true-p module-file-suffix) (error "Dynamic modules are NOT supported in your build of Emacs"))
36+
(unless (bound-and-true-p module-file-suffix)
37+
(error "Dynamic modules are NOT supported in your build of Emacs"))
3738

38-
(let* ((default-directory (file-name-directory (or load-file-name byte-compile-current-file default-directory)))
39+
(let* ((default-directory (file-name-directory (or byte-compile-current-file load-file-name default-directory)))
3940
(required-module (concat "gdb-module" module-file-suffix))
4041
(path-to-module (concat default-directory required-module)))
4142

0 commit comments

Comments
 (0)