From a37d34f3b470e3fb4013e01d207488e3ddb78798 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 4 May 2013 22:03:08 -0700 Subject: [PATCH] Spelling fixes (or remove unnecessary and unusually-spelled words). --- lisp/ls-lisp.el | 4 ++-- src/fileio.c | 5 ++--- src/nsfns.m | 8 ++++---- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/lisp/ls-lisp.el b/lisp/ls-lisp.el index 60d6b7b7ba5..82a78545d62 100644 --- a/lisp/ls-lisp.el +++ b/lisp/ls-lisp.el @@ -404,8 +404,8 @@ not contain `d', so that a full listing is expected." ;; the wildcard; let's say something similar. (insert "(No match)\n")) (insert (format "total %.0f\n" (fceiling (/ sum 1024.0)))))) - ;; dired-insert-directory exprects to find point after the - ;; text. But if the listinmg is empty, as e.g. in empty + ;; dired-insert-directory expects to find point after the + ;; text. But if the listing is empty, as e.g. in empty ;; directories with -a removed from switches, point will be ;; before the inserted text, and dired-insert-directory will ;; not indent the listing correctly. Going to the end of the diff --git a/src/fileio.c b/src/fileio.c index 38b98a243b2..4a792d43a97 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -6076,9 +6076,8 @@ file is usually more useful if it contains the deleted text. */); Hence, for now by default fsync is used only when interactive. For more on why fsync often fails to work on today's hardware, see: - Zheng M, Tucek J, Qin F, Lillibridge M. Understanding the - robustness of SSDs under power fault. 11th USENIX Conference on - File and Storage Technologies, 2013 (FAST '13), 271-84 + Zheng M et al. Understanding the robustness of SSDs under power fault. + 11th USENIX Conf. on File and Storage Technologies, 2013 (FAST '13), 271-84 http://www.usenix.org/system/files/conference/fast13/fast13-final80.pdf For more on why fsync does not suffice even if it works properly, see: diff --git a/src/nsfns.m b/src/nsfns.m index 0d9ebe0ef50..95fdd516b99 100644 --- a/src/nsfns.m +++ b/src/nsfns.m @@ -1502,7 +1502,7 @@ Optional arg DIR_ONLY_P, if non-nil, means choose only directories. */) ret = (ret == NSOKButton) || panelOK; - if (ret) + if (ret) { NSString *str = [panel getFilename]; if (! str) str = [panel getDirectory]; @@ -1699,7 +1699,7 @@ If omitted or nil, the selected frame's display is used. */) (Lisp_Object display) { NSWindowDepth depth; - + check_ns_display_info (display); depth = [ns_get_screen (display) depth]; @@ -2267,7 +2267,7 @@ DEFUN ("xw-display-color-p", Fxw_display_color_p, Sxw_display_color_p, 0, 1, 0, { NSWindowDepth depth; NSString *colorSpace; - + check_ns_display_info (display); depth = [ns_get_screen (display) depth]; colorSpace = NSColorSpaceFromDepth (depth); @@ -2546,7 +2546,7 @@ Value is t if tooltip was open, nil otherwise. */) /* Handle arrow/function/control keys and copy/paste/cut in file dialogs. - Return YES if handeled, NO if not. + Return YES if handled, NO if not. */ static BOOL handlePanelKeys (NSSavePanel *panel, NSEvent *theEvent) -- 2.39.2