Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c8d8f322
Commit
c8d8f322
authored
Oct 18, 2004
by
Daniel Pfeiffer
Browse files
(Buffer-menu-make-sort-button) Make sorting by mouse-2 work from a different window.
parent
d4c2c0ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lisp/buff-menu.el
lisp/buff-menu.el
+3
-1
No files found.
lisp/buff-menu.el
View file @
c8d8f322
...
...
@@ -625,7 +625,9 @@ For more information, see the function `buffer-menu'."
'mouse-face
'highlight
'keymap
(
let
((
map
(
make-sparse-keymap
)))
(
define-key
map
[header-line
mouse-2]
`
(
lambda
()
(
interactive
)
`
(
lambda
(
e
)
(
interactive
"e"
)
(
if
e
(
set-buffer
(
window-buffer
(
posn-window
(
event-end
e
)))))
(
Buffer-menu-sort
,
column
)))
map
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment