diff options
| author | Drew Adams | 2012-06-13 08:36:29 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-06-13 08:36:29 -0400 |
| commit | 87e6e64f99de751c4459eb7acc6ac31e20db1f25 (patch) | |
| tree | 1e1acbd1b6c5f28c76505bfd24e23bc7a6de470f | |
| parent | 682cefaf0c2f61d8d83c3628ae3b0da880771dcf (diff) | |
| download | emacs-87e6e64f99de751c4459eb7acc6ac31e20db1f25.tar.gz emacs-87e6e64f99de751c4459eb7acc6ac31e20db1f25.zip | |
* lisp/help-mode.el (help-bookmark-make-record, help-bookmark-jump):
Fix last change.
| -rw-r--r-- | lisp/ChangeLog | 51 | ||||
| -rw-r--r-- | lisp/help-mode.el | 11 |
2 files changed, 33 insertions, 29 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1e3908d487a..4e52a213eab 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-06-13 Drew Adams <drew.adams@oracle.com> | ||
| 2 | |||
| 3 | * help-mode.el (help-bookmark-make-record, help-bookmark-jump): | ||
| 4 | Fix last change. | ||
| 5 | |||
| 1 | 2012-06-13 Michael Albinus <michael.albinus@gmx.de> | 6 | 2012-06-13 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 7 | ||
| 3 | * net/dbus.el (dbus-call-method): Use timeout for `read-event'. | 8 | * net/dbus.el (dbus-call-method): Use timeout for `read-event'. |
| @@ -134,13 +139,13 @@ | |||
| 134 | gid as real numbers. They could run out of integer range on cygwin. | 139 | gid as real numbers. They could run out of integer range on cygwin. |
| 135 | (tramp-do-copy-or-rename-file-out-of-band): Better trace format. | 140 | (tramp-do-copy-or-rename-file-out-of-band): Better trace format. |
| 136 | (tramp-sh-handle-expand-file-name): Handle hops. | 141 | (tramp-sh-handle-expand-file-name): Handle hops. |
| 137 | (tramp-open-connection-setup-interactive-shell): Use | 142 | (tramp-open-connection-setup-interactive-shell): |
| 138 | `tramp-cleanup'. Move check for busyboxes ... | 143 | Use `tramp-cleanup'. Move check for busyboxes ... |
| 139 | (tramp-find-shell): ... here. Simplify implementation. Set | 144 | (tramp-find-shell): ... here. Simplify implementation. |
| 140 | "remote-shell" property also for alternative shells. | 145 | Set "remote-shell" property also for alternative shells. |
| 141 | (tramp-remote-coding-commands): Check "test -c /dev/stdout". If | 146 | (tramp-remote-coding-commands): Check "test -c /dev/stdout". |
| 142 | failing, a regular file would be written otherwise. Reported by | 147 | If failing, a regular file would be written otherwise. |
| 143 | Dmitry Kurochkin <dmitry.kurochkin@gmail.com>. | 148 | Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>. |
| 144 | (tramp-find-inline-encoding): Cache the coding commands in the | 149 | (tramp-find-inline-encoding): Cache the coding commands in the |
| 145 | process cache. Apply test command on the remote side, if defined. | 150 | process cache. Apply test command on the remote side, if defined. |
| 146 | (tramp-find-inline-compress): Cache the compress commands in the | 151 | (tramp-find-inline-compress): Cache the compress commands in the |
| @@ -148,15 +153,15 @@ | |||
| 148 | (tramp-compute-multi-hops): Save `tramp-default-proxies-alist' | 153 | (tramp-compute-multi-hops): Save `tramp-default-proxies-alist' |
| 149 | when requested. Handle hops. | 154 | when requested. Handle hops. |
| 150 | (tramp-current-connection): New defvar. | 155 | (tramp-current-connection): New defvar. |
| 151 | (tramp-maybe-open-connection): Use `tramp-cleanup'. Throw | 156 | (tramp-maybe-open-connection): Use `tramp-cleanup'. |
| 152 | `suppress', if there was a failed connection shortly before. | 157 | Throw `suppress', if there was a failed connection shortly before. |
| 153 | Handle user interrupt. (Bug#10187) | 158 | Handle user interrupt. (Bug#10187) |
| 154 | (tramp-get-inline-compress, tramp-get-inline-coding): Read | 159 | (tramp-get-inline-compress, tramp-get-inline-coding): |
| 155 | connection properties from the process cache. | 160 | Read connection properties from the process cache. |
| 156 | 161 | ||
| 157 | * net/tramp-smb.el (tramp-smb-server-version) | 162 | * net/tramp-smb.el (tramp-smb-server-version) |
| 158 | (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar): New | 163 | (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar): |
| 159 | defconsts. | 164 | New defconsts. |
| 160 | (tramp-smb-prompt): Extend for powershell prompt. | 165 | (tramp-smb-prompt): Extend for powershell prompt. |
| 161 | (tramp-smb-file-name-handler-alist): Add handlers for | 166 | (tramp-smb-file-name-handler-alist): Add handlers for |
| 162 | `process-file', `shell-command' and `start-file-process'. | 167 | `process-file', `shell-command' and `start-file-process'. |
| @@ -170,17 +175,17 @@ | |||
| 170 | Implement using "tar". By this, time-stamps are preserved. | 175 | Implement using "tar". By this, time-stamps are preserved. |
| 171 | (tramp-smb-handle-copy-file): Handle also the case of directories. | 176 | (tramp-smb-handle-copy-file): Handle also the case of directories. |
| 172 | (tramp-smb-do-file-attributes-with-stat) | 177 | (tramp-smb-do-file-attributes-with-stat) |
| 173 | (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities): Use | 178 | (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities): |
| 174 | `tramp-get-connection-buffer'). | 179 | Use `tramp-get-connection-buffer'). |
| 175 | (tramp-smb-handle-rename-file): Use "rename", when source and | 180 | (tramp-smb-handle-rename-file): Use "rename", when source and |
| 176 | target are on the same share. | 181 | target are on the same share. |
| 177 | (tramp-smb-maybe-open-connection): Handle wrong passwords. Use | 182 | (tramp-smb-maybe-open-connection): Handle wrong passwords. |
| 178 | `tramp-smb-server-version'. | 183 | Use `tramp-smb-server-version'. |
| 179 | (tramp-smb-wait-for-output): Remove prompt. | 184 | (tramp-smb-wait-for-output): Remove prompt. |
| 180 | 185 | ||
| 181 | * net/tramp.el (top): Require 'cl. | 186 | * net/tramp.el (top): Require 'cl. |
| 182 | (tramp-methods, tramp-rsh-end-of-line): Remove | 187 | (tramp-methods, tramp-rsh-end-of-line): |
| 183 | `tramp-password-end-of-line' from docstring. | 188 | Remove `tramp-password-end-of-line' from docstring. |
| 184 | (tramp-save-ad-hoc-proxies): New defcustom. | 189 | (tramp-save-ad-hoc-proxies): New defcustom. |
| 185 | (tramp-completion-function-alist): Adapt docstring. | 190 | (tramp-completion-function-alist): Adapt docstring. |
| 186 | (tramp-default-password-end-of-line): Remove defcustom. | 191 | (tramp-default-password-end-of-line): Remove defcustom. |
| @@ -200,8 +205,8 @@ | |||
| 200 | `tramp-message-show-message' here, because this suppresses also | 205 | `tramp-message-show-message' here, because this suppresses also |
| 201 | error buffers. | 206 | error buffers. |
| 202 | (tramp-error-with-buffer): Suppress buffer view, if | 207 | (tramp-error-with-buffer): Suppress buffer view, if |
| 203 | `tramp-message-show-message' is nil. Use | 208 | `tramp-message-show-message' is nil. |
| 204 | `tramp-get-connection-buffer'. | 209 | Use `tramp-get-connection-buffer'. |
| 205 | (tramp-cleanup): New defun. | 210 | (tramp-cleanup): New defun. |
| 206 | (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'. | 211 | (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'. |
| 207 | (tramp-file-name-handler): If `debug-on-error' is set, propagate | 212 | (tramp-file-name-handler): If `debug-on-error' is set, propagate |
| @@ -219,8 +224,8 @@ | |||
| 219 | (tramp-action-password): ... here. | 224 | (tramp-action-password): ... here. |
| 220 | (tramp-mode-string-to-int, tramp-local-host-p) | 225 | (tramp-mode-string-to-int, tramp-local-host-p) |
| 221 | (tramp-make-tramp-temp-file, tramp-read-passwd) | 226 | (tramp-make-tramp-temp-file, tramp-read-passwd) |
| 222 | (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff): Set | 227 | (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff): |
| 223 | tramp-autoload cookie. | 228 | Set tramp-autoload cookie. |
| 224 | 229 | ||
| 225 | * net/trampver.el: Update release number. | 230 | * net/trampver.el: Update release number. |
| 226 | 231 | ||
diff --git a/lisp/help-mode.el b/lisp/help-mode.el index 88b5e095cf6..85c1e62e2c3 100644 --- a/lisp/help-mode.el +++ b/lisp/help-mode.el | |||
| @@ -808,9 +808,8 @@ Implements `bookmark-make-record-function' for help-mode buffers." | |||
| 808 | (unless (car help-xref-stack-item) | 808 | (unless (car help-xref-stack-item) |
| 809 | (error "Cannot create bookmark - help command not known")) | 809 | (error "Cannot create bookmark - help command not known")) |
| 810 | `(,@(bookmark-make-record-default 'NO-FILE 'NO-CONTEXT) | 810 | `(,@(bookmark-make-record-default 'NO-FILE 'NO-CONTEXT) |
| 811 | (buffer-name . "*Help*") | ||
| 812 | (help-fn . ,(car help-xref-stack-item)) | 811 | (help-fn . ,(car help-xref-stack-item)) |
| 813 | (help-arg . ,(cadr help-xref-stack-item)) | 812 | (help-args . ,(cdr help-xref-stack-item)) |
| 814 | (position . ,(point)) | 813 | (position . ,(point)) |
| 815 | (handler . help-bookmark-jump))) | 814 | (handler . help-bookmark-jump))) |
| 816 | 815 | ||
| @@ -819,10 +818,10 @@ Implements `bookmark-make-record-function' for help-mode buffers." | |||
| 819 | "Jump to help-mode bookmark BOOKMARK. | 818 | "Jump to help-mode bookmark BOOKMARK. |
| 820 | Handler function for record returned by `help-bookmark-make-record'. | 819 | Handler function for record returned by `help-bookmark-make-record'. |
| 821 | BOOKMARK is a bookmark name or a bookmark record." | 820 | BOOKMARK is a bookmark name or a bookmark record." |
| 822 | (let ((help-fn (bookmark-prop-get bookmark 'help-fn)) | 821 | (let ((help-fn (bookmark-prop-get bookmark 'help-fn)) |
| 823 | (help-arg (bookmark-prop-get bookmark 'help-arg)) | 822 | (help-args (bookmark-prop-get bookmark 'help-args)) |
| 824 | (position (bookmark-prop-get bookmark 'position))) | 823 | (position (bookmark-prop-get bookmark 'position))) |
| 825 | (funcall help-fn help-arg) | 824 | (apply help-fn help-args) |
| 826 | (pop-to-buffer "*Help*") | 825 | (pop-to-buffer "*Help*") |
| 827 | (goto-char position))) | 826 | (goto-char position))) |
| 828 | 827 | ||