[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changes for emacs 28

From: Ergus
Subject: Re: Changes for emacs 28
Date: Sat, 12 Sep 2020 22:03:22 +0200

On Sat, Sep 12, 2020 at 03:29:34PM -0300, Caio Henrique wrote:
Robert Pluim <rpluim@gmail.com> writes:

I believe that this is a bug (see the images attached comparing before
and after this patch).

diff --git a/lisp/tool-bar.el b/lisp/tool-bar.el
index 7df1e28e06..bec45c1ea4 100644
--- a/lisp/tool-bar.el
+++ b/lisp/tool-bar.el
@@ -256,9 +256,9 @@ tool-bar-setup
  (tool-bar-add-item-from-menu 'dired "diropen" nil :vert-only t)
  (tool-bar-add-item-from-menu 'kill-this-buffer "close" nil :vert-only t)
  (tool-bar-add-item-from-menu 'save-buffer "save" nil
-                              :label "Save")
+                              :label "Save" :vert-only t)
  (define-key-after (default-value 'tool-bar-map) [separator-1] 
-  (tool-bar-add-item-from-menu 'undo "undo" nil)
+  (tool-bar-add-item-from-menu 'undo "undo" nil :vert-only t)
  (define-key-after (default-value 'tool-bar-map) [separator-2] 
  (tool-bar-add-item-from-menu (lookup-key menu-bar-edit-menu [cut])
                               "cut" nil :vert-only t)

Why you think it is a bug? :vert-only means exactly what I see.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]