GNU bug report logs -
#15651
24.3.50; `menu-bar-select-buffer' - Remove it? Move it to msb.el?
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Sat, 19 Oct 2013 15:34:01 UTC
Severity: wishlist
Found in version 24.3.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Drew Adams <drew.adams <at> oracle.com> writes:
> `menu-bar-select-buffer' is defined in `menu-bar.el'. It used to be
> used there as well, in function `menu-bar-update-buffers'.
>
> Now, the latter function uses `menu-bar-select-buffer-function' instead
> (which makes no use of `menu-bar-select-buffer'). The only place
> `menu-bar-select-buffer' is used now is in `msb.el'.
>
> Why not remove `menu-bar-select-buffer' or move it to `msb.el'?
Well, there may be third party usages of this very important function, I
guess?
(defun menu-bar-select-buffer ()
(interactive)
(switch-to-buffer last-command-event))
And it's unclear whether it's used in msb.el. The only mention is:
(defun msb--make-keymap-menu (raw-menu)
(let ((end 'menu-bar-select-buffer)
(mcount 0))
But it could be funcalled afterwards... the logic is unclear...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 359 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.