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

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

[elpa] externals/org b4a72ddf98 12/12: org-agenda-show-current-time-in-g


From: ELPA Syncer
Subject: [elpa] externals/org b4a72ddf98 12/12: org-agenda-show-current-time-in-grid: Use more common Unicode arrow
Date: Sun, 17 Jul 2022 04:57:51 -0400 (EDT)

branch: externals/org
commit b4a72ddf98b8e6e59d1965f53f1baab0d88b5358
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>

    org-agenda-show-current-time-in-grid: Use more common Unicode arrow
    
    * lisp/org-agenda.el (org-agenda-current-time-string): Use more
    commonly available "←" char indicator instead of "⭠".  Suggested in
    https://orgmode.org/list/875yk1e3h1.fsf@posteo.net.  This patch does
    not fully solve the problem with `char-displayable-p' returning
    non-nil when the char cannot be actually displayed in agenda, but it
    should at least make the issue less severe until we find a more
    accurate test.  In any case, the Unicode version of the agenda grid
    will be available for more users with this patch.
---
 lisp/org-agenda.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index b1c9dc598b..de2ea2cf43 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -1587,9 +1587,9 @@ will align with agenda items."
 
 (defcustom org-agenda-current-time-string
   (if (and (display-graphic-p)
-           (char-displayable-p ?⭠)
+           (char-displayable-p ?←)
            (char-displayable-p ?─))
-      "⭠ now ───────────────────────────────────────────────"
+      "← now ───────────────────────────────────────────────"
     "now - - - - - - - - - - - - - - - - - - - - - - - - -")
   "The string for the current time marker in the agenda."
   :group 'org-agenda-time-grid



reply via email to

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