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

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

[elpa] externals/beardbolt be3cf0a712 318/323: Fix problems with beardbo


From: ELPA Syncer
Subject: [elpa] externals/beardbolt be3cf0a712 318/323: Fix problems with beardbolt-compile when file is saved
Date: Thu, 9 Mar 2023 10:59:00 -0500 (EST)

branch: externals/beardbolt
commit be3cf0a7124be30e10391cb595cd420b6cf3aa23
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Fix problems with beardbolt-compile when file is saved
    
    * beardbolt.el (bb--c/c++-setup): Don't water down bufer-file-name
    to non-directory part.
---
 beardbolt.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/beardbolt.el b/beardbolt.el
index 74674f3335..63e839a033 100644
--- a/beardbolt.el
+++ b/beardbolt.el
@@ -202,8 +202,7 @@ Useful if you have multiple objdumpers and want to select 
between them")
 (cl-defun bb--c/c++-setup (&key base-cmd language)
   "Get compile specs for gcc/clang."
   (let* ((modified-p (buffer-modified-p))
-         (source-hint (if modified-p "<stdin>" (file-name-nondirectory
-                                                (buffer-file-name))))
+         (source-hint (if modified-p "<stdin>" (buffer-file-name)))
          (base-command (ensure-list (or bb-command
                                         (bb--guess-from-ccj)
                                         base-cmd)))



reply via email to

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