Skip to content

Commit

Permalink
org-agenda-show-current-time-in-grid: Use more common Unicode arrow
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
yantar92 committed Jul 17, 2022
1 parent 064afa0 commit b4a72dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lisp/org-agenda.el
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b4a72dd

Please sign in to comment.