mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-07 14:03:07 +00:00
entered into RCS
This commit is contained in:
parent
22a89ee866
commit
e6dd9901bb
6
src/cm.h
6
src/cm.h
@ -125,8 +125,8 @@ extern short ospeed; /* Output speed (from sg_ospeed) */
|
||||
#define AutoWrap Wcm.cm_autowrap
|
||||
#define MagicWrap Wcm.cm_magicwrap
|
||||
#define UseTabs Wcm.cm_usetabs
|
||||
#define ScreenRows Wcm.cm_rows
|
||||
#define ScreenCols Wcm.cm_cols
|
||||
#define FrameRows Wcm.cm_rows
|
||||
#define FrameCols Wcm.cm_cols
|
||||
|
||||
#define UpCost Wcm.cc_up
|
||||
#define DownCost Wcm.cc_down
|
||||
@ -149,7 +149,7 @@ extern short ospeed; /* Output speed (from sg_ospeed) */
|
||||
#define cmat(row,col) (curY = (row), curX = (col))
|
||||
#define cmplus(n) \
|
||||
{ \
|
||||
if ((curX += (n)) >= ScreenCols && !MagicWrap) \
|
||||
if ((curX += (n)) >= FrameCols && !MagicWrap) \
|
||||
{ \
|
||||
if (Wcm.cm_losewrap) losecursor (); \
|
||||
else if (AutoWrap) curX = 0, curY++; \
|
||||
|
@ -36,5 +36,5 @@ extern int interrupts_deferred;
|
||||
/* Terminal has meta key */
|
||||
extern int meta_key;
|
||||
|
||||
/* Nonzero means truncate lines in all windows less wide than the screen */
|
||||
/* Nonzero means truncate lines in all windows less wide than the frame */
|
||||
extern int truncate_partial_width_windows;
|
||||
|
Loading…
Reference in New Issue
Block a user