File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1119,7 +1119,9 @@ We need calcuate render allocation to make sure no black border around render co
1119
1119
(let* ((window-edges (window-pixel-edges window))
1120
1120
(x (nth 0 window-edges))
1121
1121
(y (+ (nth 1 window-edges)
1122
- (window-header-line-height window)
1122
+ (if (version< emacs-version " 27.0" )
1123
+ (window-header-line-height window)
1124
+ (window-tab-line-height window))
1123
1125
(if (and (require 'tab-line nil t )
1124
1126
tab-line-mode) ; Support emacs 27 tab-line-mode
1125
1127
(window-tab-line-height window)
@@ -1834,7 +1836,7 @@ This function works best if paired with a fuzzy search package."
1834
1836
(if history-file-exists
1835
1837
(mapcar
1836
1838
(lambda (h ) (when (string-match history-pattern h)
1837
- (format " [%s ] ⇰ %s " (match-string 1 h) (match-string 2 h))))
1839
+ (format " [%s ] ⇰ %s " (match-string 1 h) (match-string 2 h))))
1838
1840
(with-temp-buffer (insert-file-contents browser-history-file-path)
1839
1841
(split-string (buffer-string ) " \n " t )))
1840
1842
nil )))
You can’t perform that action at this time.
0 commit comments