diff options
| author | Juri Linkov | 2019-10-15 22:41:40 +0300 |
|---|---|---|
| committer | Juri Linkov | 2019-10-15 22:41:40 +0300 |
| commit | 4509aaa5b0666a120fb1e255d52d83d03c46c596 (patch) | |
| tree | 6dbab18b568dcd60f2556bc53b2d21bbaa2c99e7 /lisp | |
| parent | 6ac99ebb3f623c64379f5c6811f1cdeb6ecac7da (diff) | |
| download | emacs-4509aaa5b0666a120fb1e255d52d83d03c46c596.tar.gz emacs-4509aaa5b0666a120fb1e255d52d83d03c46c596.zip | |
New variable tab-bar-position
* lisp/cus-start.el: Add customization for tab-bar-position.
* src/dispnew.c (syms_of_display): New variable Vtab_bar_position.
(adjust_frame_glyphs_for_window_redisplay): Use it.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/cus-start.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el index 89a96a9f51c..d1278192ef7 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el | |||
| @@ -591,6 +591,12 @@ since it could result in memory overflow and make Emacs crash." | |||
| 591 | (const :tag "Text-image-horiz" :value text-image-horiz) | 591 | (const :tag "Text-image-horiz" :value text-image-horiz) |
| 592 | (const :tag "System default" :value nil)) "24.1") | 592 | (const :tag "System default" :value nil)) "24.1") |
| 593 | (tool-bar-max-label-size frames integer "24.1") | 593 | (tool-bar-max-label-size frames integer "24.1") |
| 594 | (tab-bar-position tab-bar boolean "27.1" | ||
| 595 | :set (lambda (sym val) | ||
| 596 | (set-default sym val) | ||
| 597 | ;; Redraw the bars: | ||
| 598 | (tab-bar-mode -1) | ||
| 599 | (tab-bar-mode 1))) | ||
| 594 | (auto-hscroll-mode scrolling | 600 | (auto-hscroll-mode scrolling |
| 595 | (choice | 601 | (choice |
| 596 | (const :tag "Don't scroll automatically" | 602 | (const :tag "Don't scroll automatically" |