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

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

[elpa] externals/org 912cf21: org.el: Fix missing arg in string-match-p


From: ELPA Syncer
Subject: [elpa] externals/org 912cf21: org.el: Fix missing arg in string-match-p call
Date: Tue, 23 Nov 2021 00:57:20 -0500 (EST)

branch: externals/org
commit 912cf2149436373098bcafb77724a33671afdc27
Author: Matt Huszagh <huszaghmatt@gmail.com>
Commit: TEC <tec@tecosaur.com>

    org.el: Fix missing arg in string-match-p call
    
    * lisp/org.el (org-display-inline-image--width): `string-match-p'
    requires two arguments, but the second one was missing.
---
 lisp/org.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org.el b/lisp/org.el
index 736b743..308bb7d 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -16867,7 +16867,7 @@ buffer boundaries with possible narrowing."
              ((string= attr-width "t") nil)
              ;; Fallback to `org-image-actual-width' if no interprable width 
is given.
              ((or (null attr-width)
-                  (string-match-p "\\`[^0-9]"))
+                  (string-match-p "\\`[^0-9]" attr-width))
               (car org-image-actual-width))
              ;; Convert numeric widths to numbers, converting percentages.
              ((string-match-p "\\`[0-9.]+%" attr-width)



reply via email to

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