From: Basil L. Contovounesios Date: Wed, 14 Apr 2021 11:41:19 +0000 (+0100) Subject: ; Fix a couple of recent typos. X-Git-Tag: emacs-28.0.90~2857 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8ec1391acedfb67408361e3af3d4c3cf9e1c4ce4;p=emacs.git ; Fix a couple of recent typos. --- diff --git a/lisp/files.el b/lisp/files.el index 9d9fbe1f068..7440c11a21d 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -7671,7 +7671,7 @@ as in \"og+rX-w\"." num-rights)) (defun file-modes-number-to-symbolic (mode &optional filetype) - "Return a string describing a a file's MODE. + "Return a string describing a file's MODE. For instance, if MODE is #o700, then it produces `-rwx------'. FILETYPE if provided should be a character denoting the type of file, such as `?d' for a directory, or `?l' for a symbolic link and will override diff --git a/src/xdisp.c b/src/xdisp.c index 9e5516602b4..8ffec93e45d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -875,11 +875,12 @@ wset_update_mode_line (struct window *w) w->update_mode_line = true; /* When a window's mode line needs to be updated, the window's frame's title may also need to be updated, but we don't need to worry about it - here. Instead, `gui_consider_frame_title` is automatically called + here. Instead, `gui_consider_frame_title' is automatically called whenever w->update_mode_line is set for that frame's selected window. But for this to work reliably, we have to make sure the window is considered, so we have to mark it for redisplay. */ - wset_redisplay (w); } + wset_redisplay (w); +} DEFUN ("set-buffer-redisplay", Fset_buffer_redisplay, Sset_buffer_redisplay, 4, 4, 0,