branch: externals/bufferlo
commit ef7419b5badc46820fcc6dc73740a00a4740a9ba
Author: Stéphane Marks <[email protected]>
Commit: Flo Rommel <[email protected]>

    Leverage locate-user-emacs-file
    
    This is better than our custom code.
---
 bufferlo.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bufferlo.el b/bufferlo.el
index 4d21433258..f275f52bce 100644
--- a/bufferlo.el
+++ b/bufferlo.el
@@ -1015,7 +1015,7 @@ string, FACE is the face for STR."
                                  #'string-equal)))
     (setq bufferlo--command-line-noload pos)
     (setq command-line-args (seq-remove-at-position command-line-args pos)))
-  (when (file-exists-p (expand-file-name "bufferlo-noload" 
user-emacs-directory))
+  (when (locate-user-emacs-file "bufferlo-noload")
     (message "bufferlo-noload file found; inhibiting bufferlo bookmark 
loading")
     (setq bufferlo--command-line-noload t)))
 

Reply via email to