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

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

[nongnu] elpa/markdown-mode 3ac7743 2/2: Merge pull request #594 from ta


From: ELPA Syncer
Subject: [nongnu] elpa/markdown-mode 3ac7743 2/2: Merge pull request #594 from tarsiiformes/silencio
Date: Thu, 4 Feb 2021 18:57:07 -0500 (EST)

branch: elpa/markdown-mode
commit 3ac774377430493070330a58fba1cc9ef460feee
Merge: 9e6aac2 8a838d0
Author: Shohei YOSHIDA <syohex@gmail.com>
Commit: GitHub <noreply@github.com>

    Merge pull request #594 from tarsiiformes/silencio
    
    Silence byte-compiler
---
 markdown-mode.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/markdown-mode.el b/markdown-mode.el
index e0eec96..6568b3d 100644
--- a/markdown-mode.el
+++ b/markdown-mode.el
@@ -7865,7 +7865,11 @@ The location of the alias component depends on the value 
of
                return it)
       (progn
         (require 'project)
-        (car (project-roots (project-current t))))))
+        (let ((project (project-current t)))
+          (with-no-warnings
+            (if (fboundp 'project-root)
+                (project-root project)
+              (car (project-roots project))))))))
 
 (defun markdown-convert-wiki-link-to-filename (name)
   "Generate a filename from the wiki link NAME.



reply via email to

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