aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2018-10-03 09:25:26 -0700
committerGlenn Morris2018-10-03 09:25:26 -0700
commiteb6c0c33f1d8dc6aa5832eb21d460d0072578d80 (patch)
tree1d8b128da905eb88a1898b55e4b64918c09111df
parent42516f01dbcafce8dcb8b357e591f838b5590476 (diff)
parentea77c6594e5ccc9057ca664ef1dea766ca291b8e (diff)
downloademacs-eb6c0c33f1d8dc6aa5832eb21d460d0072578d80.tar.gz
emacs-eb6c0c33f1d8dc6aa5832eb21d460d0072578d80.zip
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
-rw-r--r--doc/lispref/functions.texi4
-rw-r--r--lisp/net/tramp.el29
2 files changed, 17 insertions, 16 deletions
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi
index 05bc8c73d58..3be52d8e624 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
1679function and should hence obey the calling convention of the combined function 1679function and should hence obey the calling convention of the combined function
1680rather than that of @var{function}. In many cases, it makes no difference 1680rather than that of @var{function}. In many cases, it makes no difference
1681since they are identical, but it does matter for @code{:around}, 1681since they are identical, but it does matter for @code{:around},
1682@code{:filter-args}, and @code{filter-return}, where @var{function}. 1682@code{:filter-args}, and @code{:filter-return}, where @var{function}
1683receives different arguments than the original function stored in
1684@var{place}.
1683@end defmac 1685@end defmac
1684 1686
1685@defmac remove-function place function 1687@defmac remove-function place function
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el
index e1602db1492..08a225602aa 100644
--- a/lisp/net/tramp.el
+++ b/lisp/net/tramp.el
@@ -2003,21 +2003,20 @@ been set up by `rfn-eshadow-setup-minibuffer'."
2003 (minibuffer-prompt-end))) 2003 (minibuffer-prompt-end)))
2004 ;; We do not want to send any remote command. 2004 ;; We do not want to send any remote command.
2005 (non-essential t)) 2005 (non-essential t))
2006 (when 2006 (when (tramp-tramp-file-p (buffer-substring end (point-max)))
2007 (tramp-tramp-file-p 2007 (save-excursion
2008 (buffer-substring-no-properties end (point-max))) 2008 (save-restriction
2009 (save-restriction 2009 (narrow-to-region
2010 (narrow-to-region 2010 (1+ (or (string-match
2011 (1+ (or (string-match 2011 (tramp-rfn-eshadow-update-overlay-regexp)
2012 (tramp-rfn-eshadow-update-overlay-regexp) 2012 (buffer-string) end)
2013 (buffer-string) end) 2013 end))
2014 end)) 2014 (point-max))
2015 (point-max)) 2015 (let ((rfn-eshadow-overlay tramp-rfn-eshadow-overlay)
2016 (let ((rfn-eshadow-overlay tramp-rfn-eshadow-overlay) 2016 (rfn-eshadow-update-overlay-hook nil)
2017 (rfn-eshadow-update-overlay-hook nil) 2017 file-name-handler-alist)
2018 file-name-handler-alist) 2018 (move-overlay rfn-eshadow-overlay (point-max) (point-max))
2019 (move-overlay rfn-eshadow-overlay (point-max) (point-max)) 2019 (rfn-eshadow-update-overlay))))))))
2020 (rfn-eshadow-update-overlay)))))))
2021 2020
2022(add-hook 'rfn-eshadow-update-overlay-hook 2021(add-hook 'rfn-eshadow-update-overlay-hook
2023 'tramp-rfn-eshadow-update-overlay) 2022 'tramp-rfn-eshadow-update-overlay)