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
eddd51c2
Commit
eddd51c2
authored
May 26, 1997
by
Simon Marshall
Browse files
frame-override-unsplittable/inhibit-frame-unsplittable name change.
parent
8a07bba0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
lisp/textmodes/ispell.el
lisp/textmodes/ispell.el
+1
-1
src/window.c
src/window.c
+3
-3
No files found.
lisp/textmodes/ispell.el
View file @
eddd51c2
...
...
@@ -1479,7 +1479,7 @@ scrolling the current window. Leave the new window selected."
;; So we increment the height for this case.
(
if
(
string-match
"19\.9.*Lucid"
(
emacs-version
))
(
setq
height
(
1+
height
)))
(
let
((
frame-overrid
e-unsplittable
t
))
(
let
((
inhibit-fram
e-unsplittable
t
))
(
split-window
nil
height
))
(
set-window-start
(
next-window
)
top
))))
...
...
src/window.c
View file @
eddd51c2
...
...
@@ -120,7 +120,7 @@ Lisp_Object Vwindow_configuration_change_hook;
static
int
scroll_preserve_screen_position
;
/* Non-nil means we can split a frame even if it is "unsplittable". */
static
int
frame_overrid
e_unsplittable
;
static
int
inhibit_fram
e_unsplittable
;
#define min(a, b) ((a) < (b) ? (a) : (b))
...
...
@@ -2397,7 +2397,7 @@ and put SIZE columns in the first of the pair.")
if
(
MINI_WINDOW_P
(
o
))
error
(
"Attempt to split minibuffer window"
);
else
if
(
FRAME_NO_SPLIT_P
(
fo
)
&&
!
frame_overrid
e_unsplittable
)
else
if
(
FRAME_NO_SPLIT_P
(
fo
)
&&
!
inhibit_fram
e_unsplittable
)
error
(
"Attempt to split unsplittable frame"
);
check_min_window_sizes
();
...
...
@@ -3779,7 +3779,7 @@ If there is only one window, it is split regardless of this value.");
The selected frae is the one whose configuration has changed."
);
Vwindow_configuration_change_hook
=
Qnil
;
DEFVAR_BOOL
(
"
frame-overrid
e-unsplittable"
,
&
frame_overrid
e_unsplittable
,
DEFVAR_BOOL
(
"
inhibit-fram
e-unsplittable"
,
&
inhibit_fram
e_unsplittable
,
"Non-nil means allow splitting an `unsplittable' frame.
\n
\
\(That means, a frame whise `unsplittable' parameter is non-nil.)
\n
\
Packages such as Ispell that work by splitting the selected frame
\n
\
...
...
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