[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 0e9485c90b 2/3: * lisp/ol.el (org-link--set-link-di
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 0e9485c90b 2/3: * lisp/ol.el (org-link--set-link-display): Fix compiler warning |
Date: |
Fri, 20 Oct 2023 06:58:57 -0400 (EDT) |
branch: externals/org
commit 0e9485c90b729fd7fff9ab1fd4a52424c3fdd86b
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
* lisp/ol.el (org-link--set-link-display): Fix compiler warning
---
lisp/ol.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lisp/ol.el b/lisp/ol.el
index 51854af7fb..20d89b9f71 100644
--- a/lisp/ol.el
+++ b/lisp/ol.el
@@ -197,12 +197,12 @@ link.
:type '(alist :tag "Link display parameters"
:value-type plist))
-(defun org-link--set-link-display (_ value)
- "Set `org-link-descriptive' to VALUE.
+(defun org-link--set-link-display (symbol value)
+ "Set `org-link-descriptive' (SYMBOL) to VALUE.
Also, ensure that links are updated in current buffer.
This function is intended to be used as a :set function."
- (setq org-link-descriptive value)
+ (set symbol value)
(dolist (buf (org-buffer-list))
(with-current-buffer buf
(org-link-descriptive-ensure))))