diff options
| author | Juri Linkov | 2019-10-01 23:01:08 +0300 |
|---|---|---|
| committer | Juri Linkov | 2019-10-01 23:01:08 +0300 |
| commit | 3f981a0a89bca47a207fb362485f07e7322bb145 (patch) | |
| tree | 95001fa93b9693684108dd114da2a0232640e32e /lisp | |
| parent | 457a7edb4784869079eac2a47d2dc1738332c07a (diff) | |
| download | emacs-feature/tabs.tar.gz emacs-feature/tabs.zip | |
Remove unused code and reformat to 70 columns.feature/tabs
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/cus-start.el | 1 | ||||
| -rw-r--r-- | lisp/startup.el | 4 | ||||
| -rw-r--r-- | lisp/tab-bar.el | 2 |
3 files changed, 2 insertions, 5 deletions
diff --git a/lisp/cus-start.el b/lisp/cus-start.el index d5d5c6a826c..e61c1954a1f 100644 --- a/lisp/cus-start.el +++ b/lisp/cus-start.el | |||
| @@ -591,7 +591,6 @@ 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-max-label-size frames integer "27.1") | ||
| 595 | (auto-hscroll-mode scrolling | 594 | (auto-hscroll-mode scrolling |
| 596 | (choice | 595 | (choice |
| 597 | (const :tag "Don't scroll automatically" | 596 | (const :tag "Don't scroll automatically" |
diff --git a/lisp/startup.el b/lisp/startup.el index 2ab4a3ae789..c0d6024cfab 100644 --- a/lisp/startup.el +++ b/lisp/startup.el | |||
| @@ -731,9 +731,7 @@ It is the default value of the variable `top-level'." | |||
| 731 | ("--background-color" . "-bg") | 731 | ("--background-color" . "-bg") |
| 732 | ("--color" . "-color"))) | 732 | ("--color" . "-color"))) |
| 733 | 733 | ||
| 734 | (defconst tab-bar-images-pixel-height 18 | 734 | ;; FIXME: this var unused? |
| 735 | "Height in pixels of images in the tab-bar.") | ||
| 736 | |||
| 737 | (defconst tool-bar-images-pixel-height 24 | 735 | (defconst tool-bar-images-pixel-height 24 |
| 738 | "Height in pixels of images in the tool-bar.") | 736 | "Height in pixels of images in the tool-bar.") |
| 739 | 737 | ||
diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el index 3108c595e94..42d40a96543 100644 --- a/lisp/tab-bar.el +++ b/lisp/tab-bar.el | |||
| @@ -488,7 +488,7 @@ specified by `tab-bar-close-tab-select'." | |||
| 488 | (unless tab-bar-mode | 488 | (unless tab-bar-mode |
| 489 | (message "Added new tab with the current window configuration"))) | 489 | (message "Added new tab with the current window configuration"))) |
| 490 | 490 | ||
| 491 | (defun tab-delete () | 491 | (defun tab-close () |
| 492 | "Delete the current window configuration without clicking a close button." | 492 | "Delete the current window configuration without clicking a close button." |
| 493 | (interactive) | 493 | (interactive) |
| 494 | (tab-bar-close-current-tab) | 494 | (tab-bar-close-current-tab) |