forked from mirrors/org-mode
org-table.el (org-table-header-set-header): Tiny refactoring
* lisp/org-table.el (org-table-header-set-header): Tiny refactoring.
This commit is contained in:
parent
c2bc481e3d
commit
a645fd8043
|
@ -493,7 +493,7 @@ existing value of `header-line-format' we might want to restore."
|
|||
(looking-at-p ".*|\\s-+<[rcl]?\\([0-9]+\\)?>"))
|
||||
(move-beginning-of-line 2))
|
||||
(point))))
|
||||
(if (< tbeg (save-excursion (move-to-window-line 0) (point)))
|
||||
(if (not (pos-visible-in-window-p tbeg))
|
||||
(setq header-line-format
|
||||
(concat (when (eq scroll-bar-mode 'left)
|
||||
(propertize " " 'display '(space :width scroll-bar)))
|
||||
|
|
Loading…
Reference in New Issue