diff --git a/mistty-term.el b/mistty-term.el index 62f2c40..aced34f 100644 --- a/mistty-term.el +++ b/mistty-term.el @@ -728,7 +728,8 @@ If N is specified, the string is repeated N times." "TRAMP-aware alternative to `term-command-hook'. This function is meant to be bound to `term-command-function' to -catch Emacs-specific control sequences \\032...\n. +catch Emacs-specific control sequences \\032...\\n. The STRING +argument includes everything between \\032 and \\n. When `default-directory' is remote, this function interprets paths sent by the terminal as being local to the TRAMP connection. The diff --git a/mistty-util.el b/mistty-util.el index 071fac9..12575ba 100644 --- a/mistty-util.el +++ b/mistty-util.el @@ -125,7 +125,7 @@ of failing." (delete-region pos next-pos))))) (defun mistty--remove-fake-newlines (start end) - "Remove newlines marked \='term-line-wrap between START and END." + "Remove newlines marked \\='term-line-wrap between START and END." (save-excursion (goto-char start) (while (search-forward "\n" end 'noerror) diff --git a/mistty.el b/mistty.el index 6e2e9e2..4db87cc 100644 --- a/mistty.el +++ b/mistty.el @@ -1186,7 +1186,7 @@ See the documentation of `mistty-create' for details." (mistty-create command 'other-window)) (defun mistty--read-default-directory () - "Get the default directory " + "Get the default directory." (read-directory-name "Default directory: " default-directory default-directory t nil)) (defun mistty--process-sentinel (proc msg)