* lisp/bindings.el (narrow-map): Bind C-x n g to goto-line-relative (bug#9917)
This commit is contained in:
parent
46b3db5579
commit
eae31b01a2
2 changed files with 2 additions and 0 deletions
1
etc/NEWS
1
etc/NEWS
|
@ -201,6 +201,7 @@ It moves point to the line relative to the accessible portion of the
|
|||
narrowed buffer. 'M-g M-g' in Info is rebound to this command.
|
||||
When 'widen-automatically' is non-nil, 'goto-line' widens the narrowed
|
||||
buffer to be able to move point to the inaccessible portion.
|
||||
'goto-line-relative' is bound to 'C-x n g'.
|
||||
|
||||
+++
|
||||
** When 'suggest-key-bindings' is non-nil, the completion list of 'M-x'
|
||||
|
|
|
@ -918,6 +918,7 @@ if `inhibit-field-text-motion' is non-nil."
|
|||
|
||||
(define-key narrow-map "n" 'narrow-to-region)
|
||||
(define-key narrow-map "w" 'widen)
|
||||
(define-key narrow-map "g" 'goto-line-relative)
|
||||
|
||||
;; Quitting
|
||||
(define-key global-map "\e\e\e" 'keyboard-escape-quit)
|
||||
|
|
Loading…
Reference in a new issue