diff options
Diffstat (limited to 'lisp/term')
-rw-r--r-- | lisp/term/ns-win.el | 4 | ||||
-rw-r--r-- | lisp/term/sun.el | 4 | ||||
-rw-r--r-- | lisp/term/x-win.el | 2 | ||||
-rw-r--r-- | lisp/term/xterm.el | 7 |
4 files changed, 8 insertions, 9 deletions
diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index af1e388c2a3..1a3811a37c2 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el @@ -586,8 +586,8 @@ string dropped into the current buffer." ;; Based on a function by David Reitter <dreitter@inf.ed.ac.uk> ; ;; see https://lists.gnu.org/r/emacs-devel/2005-09/msg00681.html . (defun ns-toggle-toolbar (&optional frame) - "Switches the tool bar on and off in frame FRAME. - If FRAME is nil, the change applies to the selected frame." + "Switch the tool bar on and off in frame FRAME. +If FRAME is nil, the change applies to the selected frame." (interactive) (modify-frame-parameters frame (list (cons 'tool-bar-lines diff --git a/lisp/term/sun.el b/lisp/term/sun.el index 3dfd4c697a2..4c88c80bf7b 100644 --- a/lisp/term/sun.el +++ b/lisp/term/sun.el @@ -38,7 +38,7 @@ (scroll-up n)) (defun kill-region-and-unmark (beg end) - "Like `kill-region', but pops the mark [which equals point, anyway.]" + "Like `kill-region', but pops the mark [which equals point, anyway]." (interactive "r") (kill-region beg end) (setq this-command 'kill-region-and-unmark) @@ -49,7 +49,7 @@ (interactive) (eval (nth 0 command-history))) -(defvar grep-arg nil "Default arg for RE-search") +(defvar grep-arg nil "Default arg for RE-search.") (defun grep-arg () (if (memq last-command '(research-forward research-backward)) grep-arg (let* ((command (car command-history)) diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 8c6c75e7e22..d6e63187487 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -131,7 +131,7 @@ When a session manager tells Emacs that the window system is shutting down, this function is called. It calls the functions in the hook `emacs-save-session-functions'. Functions are called with the current buffer set to a temporary buffer. Functions should use `insert' to insert -lisp code to save the session state. The buffer is saved in a file in the +Lisp code to save the session state. The buffer is saved in a file in the home directory of the user running Emacs. The file is evaluated when Emacs is restarted by the session manager. diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el index 95187d5d117..52a64d6c414 100644 --- a/lisp/term/xterm.el +++ b/lisp/term/xterm.el @@ -790,14 +790,13 @@ Return the pasted text as a string." Can be nil to mean \"no timeout\".") (defvar xterm-query-redisplay-timeout 0.2 - "Seconds to wait before allowing redisplay during terminal - query." ) + "Seconds to wait before allowing redisplay during terminal query." ) (defun xterm--read-event-for-query () - "Like read-event, but inhibit redisplay. + "Like `read-event', but inhibit redisplay. By not redisplaying right away for xterm queries, we can avoid -unsightly flashing during initialization. Give up and redisplay +unsightly flashing during initialization. Give up and redisplay anyway if we've been waiting a little while." (let ((start-time (current-time))) (or (let ((inhibit-redisplay t)) |