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
42ee24ed
Commit
42ee24ed
authored
Oct 22, 2011
by
Martin Rudalics
Browse files
Fix minibuffer resizing.
* mouse.el (mouse-drag-line): Fix minibuffer resizing broken by last change.
parent
804a4315
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/mouse.el
lisp/mouse.el
+3
-1
No files found.
lisp/ChangeLog
View file @
42ee24ed
2011-10-22 Martin Rudalics <rudalics@gmx.at>
* mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
last fix.
2011-10-21 Chong Yidong <cyd@gnu.org>
* progmodes/idlwave.el (idlwave-mode):
...
...
lisp/mouse.el
View file @
42ee24ed
...
...
@@ -406,6 +406,7 @@ must be one of the symbols header, mode, or vertical."
(
mouse-on-link-p
start
)))
(
enlarge-minibuffer
(
and
(
eq
line
'mode
)
(
not
resize-mini-windows
)
(
eq
(
window-frame
minibuffer-window
)
frame
)
(
not
(
one-window-p
t
frame
))
(
=
(
nth
1
(
window-edges
minibuffer-window
))
...
...
@@ -422,7 +423,8 @@ must be one of the symbols header, mode, or vertical."
(
setq
done
t
)))
((
eq
line
'mode
)
;; Check whether mode-line can be dragged at all.
(
when
(
window-at-side-p
window
'bottom
)
(
when
(
and
(
window-at-side-p
window
'bottom
)
(
not
enlarge-minibuffer
))
(
setq
done
t
)))
((
eq
line
'vertical
)
;; Get the window to adjust for the vertical case.
...
...
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