diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-01-01 17:17:59 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2019-01-01 17:17:59 +0100 |
commit | b35bda573abc221855a4a9b9bc9fd2790e1fb01d (patch) | |
tree | fbb81f864438ab85b823dd32814e02c8a8291606 | |
parent | 7a22b8f93bff4c59aa9b59dacc1ac8c3e4f7150e (diff) | |
parent | 284799a2e86be0d95abe3e5404a48e2c4f1fc8fc (diff) | |
download | org-mode-b35bda573abc221855a4a9b9bc9fd2790e1fb01d.tar.gz |
Merge branch 'maint'
-rw-r--r-- | lisp/org.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el index 5f864ab..b2b1311 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -9790,7 +9790,7 @@ Use TAB to complete link prefixes, then RET for type-specific completion support (read-string "Description: " initial-input) initial-input)))) - (unless (string-match "\\S-" desc) (setq desc nil)) + (unless (org-string-nw-p desc) (setq desc nil)) (when remove (apply 'delete-region remove)) (insert (org-make-link-string link desc)) ;; Redisplay so as the new link has proper invisible characters. |