diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/windows.texi | 2 | ||||
-rw-r--r-- | doc/misc/ses.texi | 28 | ||||
-rw-r--r-- | doc/misc/tramp.texi | 2 |
3 files changed, 16 insertions, 16 deletions
diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 015c557ef6..ad0c3237e6 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi @@ -2426,7 +2426,7 @@ If @var{alist} contains a @code{mode} entry, its value is a major mode window is a candidate if it displays a buffer that derives from one of the given modes. -The behaviour is also controlled by entries for +The behavior is also controlled by entries for @code{inhibit-same-window}, @code{reusable-frames} and @code{inhibit-switch-frame} as is done in the function @code{display-buffer-reuse-window}. diff --git a/doc/misc/ses.texi b/doc/misc/ses.texi index 1c5070b38a..84d2cc77c0 100644 --- a/doc/misc/ses.texi +++ b/doc/misc/ses.texi @@ -567,10 +567,10 @@ s-expression (using @code{ses-prin1}), centered and surrounded by @code{#} filling. @end itemize -Another precaution to take is to avoid stack-overflow (due to a -printer function indefintely recursively re-calling itself). This can -happen mistakenly when you use a local printer as a column printer, -and this local printer implicitely call the current column printer, so +Another precaution to take is to avoid stack overflow due to a +printer function calling itself indefinitely. This mistake can +happen when you use a local printer as a column printer, +and this local printer implicitly calls the current column printer, so it will call itself recursively. Imagine for instance that you want to create some local printer @code{=fill} that would center the content of a cell and surround it by equal signs @code{=}, and you do it this @@ -583,12 +583,12 @@ way: (t (ses-center x 0 ?=)))) @end lisp -Because @code{=fill} uses standard printer @code{ses-center} without -passing explicitely any printer to it, @code{ses-center} will call the -current column printer if any or the spreadsheet default printer -otherwise. So using @code{=fill} as a column printer will result in a -stack overflow in this column. SES does not make any check for that, -you just have to be careful. For instance re-write @code{=fill} like +Because @code{=fill} uses the standard printer @code{ses-center} without +explicitly passing any printer to it, @code{ses-center} will call the +current column printer if any, or the spreadsheet default printer +otherwise. So using @code{=fill} as a column printer will result in a +stack overflow in this column. SES does not check for that; +you just have to be careful. For instance, re-write @code{=fill} like this: @lisp @@ -599,11 +599,11 @@ this: (t (ses-center-span x ?# 'ses-prin1)))) @end lisp -The code above applies the @code{=} filling only to strings, it also +The code above applies the @code{=} filling only to strings; it also surrounds the string by one space on each side before filling with -@code{=} signs. So string @samp{Foo} will be displayed like @samp{@w{=== -Foo ===}} in an 11 character wide column. Anything else than empty cell -or non string is displayed like errouneous by using @code{#} filling. +@code{=} signs. So the string @samp{Foo} will be displayed like @samp{@w{=== +Foo ===}} in an 11 character wide column. Anything other than an empty cell +or a non-string is displayed as an error by using @code{#} filling. @node Clearing cells @section Clearing cells diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index e8c181b229..2c41dddd1b 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -970,7 +970,7 @@ be populated in your @command{Online Accounts} application outside Emacs. Since Google Drive uses cryptic blob file names internally, @value{tramp} works with the @code{display-name} of the files. This -could produce unexpected behaviour in case two files in the same +could produce unexpected behavior in case two files in the same directory have the same @code{display-name}, such a situation must be avoided. @item @option{obex} |