Bastien
|
f584d37a67
|
Update copyright year
|
2019-01-01 11:50:56 +01:00 |
Nicolas Goaziou
|
4b905774ac
|
org-macs: Fix last commit
* lisp/org-macs.el (org--string-from-props): Do not raise an error on
unsupported display properties. Change signature to avoid creating
new strings unnecessarily. Update docstring accordingly.
(org-string-width): Apply signature change.
* testing/lisp/test-org-macs.el (test-org/string-width): Add test.
Reported-by: Colin Baxter <m43cap@yandex.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-10/msg00346.html>
|
2018-10-26 14:37:57 +02:00 |
Nicolas Goaziou
|
1334572582
|
org-macs: Optimize `org-string-width'
* lisp/org-macs.el (org--string-from-props): New function.
(org-string-display): Remove function.
(org-string-width): Use new function.
|
2018-08-30 21:09:57 +02:00 |
Nicolas Goaziou
|
966af419f9
|
Merge branch 'maint'
|
2017-11-15 18:14:44 +01:00 |
Nicolas Goaziou
|
40f73953f6
|
Fix `org-string-display'
* lisp/org-macs.el (org-string-display): Preserve original string's
display property when computing displayed width.
* testing/lisp/test-org-macs.el (test-org/string-display): Add test.
Reported-by: Ruy Exel <ruyexel@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-11/msg00160.html>
|
2017-11-15 18:13:34 +01:00 |
Nicolas Goaziou
|
1b9a66487a
|
Move a test
* testing/lisp/test-org-macs.el (test-org/in-regexp): Moved from...
* testing/lisp/test-org.el: ... here.
|
2017-10-24 09:55:49 +02:00 |
Nicolas Goaziou
|
29d8d407e8
|
org-macs: Add tests for `org-split-string.
* testing/lisp/test-org-macs.el (test-org/split-string): New test.
|
2017-08-01 20:29:23 +02:00 |
Nicolas Goaziou
|
90f606d9c2
|
org-macs: Fix `org-string-width' with `display' property
* lisp/org-macs.el (org-string-display): New function.
(org-string-width): Use new function.
* testing/lisp/test-org-macs.el: New file.
|
2017-07-28 12:15:47 +02:00 |