[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master eb6c0c3 5/6: Merge from origin/emacs-26
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] master eb6c0c3 5/6: Merge from origin/emacs-26 |
Date: |
Wed, 3 Oct 2018 12:25:38 -0400 (EDT) |
branch: master
commit eb6c0c33f1d8dc6aa5832eb21d460d0072578d80
Merge: 42516f0 ea77c65
Author: Glenn Morris <address@hidden>
Commit: Glenn Morris <address@hidden>
Merge from origin/emacs-26
ea77c65 Revert "Temporary workaround for bug #32848 for branch emacs-26"
2c8ea46 Revert "* etc/NEWS: Note setting make-cursor-line-fully-visib...
f8df6f2 * etc/NEWS: Note setting make-cursor-line-fully-visible to ni...
cdca208 Fix note about interactive advice (Bug#32905)
508c40e Comple fix for Bug#32550
---
doc/lispref/functions.texi | 4 +++-
lisp/net/tramp.el | 29 ++++++++++++++---------------
2 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi
index 05bc8c7..3be52d8 100644
--- a/doc/lispref/functions.texi
+++ b/doc/lispref/functions.texi
@@ -1679,7 +1679,9 @@ Note: The interactive spec of @var{function} will apply
to the combined
function and should hence obey the calling convention of the combined function
rather than that of @var{function}. In many cases, it makes no difference
since they are identical, but it does matter for @code{:around},
address@hidden:filter-args}, and @code{filter-return}, where @var{function}.
address@hidden:filter-args}, and @code{:filter-return}, where @var{function}
+receives different arguments than the original function stored in
address@hidden
@end defmac
@defmac remove-function place function
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index e1602db..08a2256 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -2003,21 +2003,20 @@ been set up by `rfn-eshadow-setup-minibuffer'."
(minibuffer-prompt-end)))
;; We do not want to send any remote command.
(non-essential t))
- (when
- (tramp-tramp-file-p
- (buffer-substring-no-properties end (point-max)))
- (save-restriction
- (narrow-to-region
- (1+ (or (string-match
- (tramp-rfn-eshadow-update-overlay-regexp)
- (buffer-string) end)
- end))
- (point-max))
- (let ((rfn-eshadow-overlay tramp-rfn-eshadow-overlay)
- (rfn-eshadow-update-overlay-hook nil)
- file-name-handler-alist)
- (move-overlay rfn-eshadow-overlay (point-max) (point-max))
- (rfn-eshadow-update-overlay)))))))
+ (when (tramp-tramp-file-p (buffer-substring end (point-max)))
+ (save-excursion
+ (save-restriction
+ (narrow-to-region
+ (1+ (or (string-match
+ (tramp-rfn-eshadow-update-overlay-regexp)
+ (buffer-string) end)
+ end))
+ (point-max))
+ (let ((rfn-eshadow-overlay tramp-rfn-eshadow-overlay)
+ (rfn-eshadow-update-overlay-hook nil)
+ file-name-handler-alist)
+ (move-overlay rfn-eshadow-overlay (point-max) (point-max))
+ (rfn-eshadow-update-overlay))))))))
(add-hook 'rfn-eshadow-update-overlay-hook
'tramp-rfn-eshadow-update-overlay)
- [Emacs-diffs] master updated (51f0ccc -> 0d118ee), Glenn Morris, 2018/10/03
- [Emacs-diffs] master 48adb87 1/6: Merge from origin/emacs-26, Glenn Morris, 2018/10/03
- [Emacs-diffs] master 0d118ee 6/6: ; Merge from origin/emacs-26, Glenn Morris, 2018/10/03
- [Emacs-diffs] master eb6c0c3 5/6: Merge from origin/emacs-26,
Glenn Morris <=
- [Emacs-diffs] master 42516f0 4/6: ; Merge from origin/emacs-26, Glenn Morris, 2018/10/03
- [Emacs-diffs] master f562118 3/6: Merge from origin/emacs-26, Glenn Morris, 2018/10/03
- [Emacs-diffs] master a773b09 2/6: ; Merge from origin/emacs-26, Glenn Morris, 2018/10/03