emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ec9523a: Add a keybinding to the help menu to display manuals


From: Lars Ingebrigtsen
Subject: master ec9523a: Add a keybinding to the help menu to display manuals
Date: Mon, 12 Oct 2020 21:09:31 -0400 (EDT)

branch: master
commit ec9523a6ae240d219b43b7539100e7f8b6b92bfd
Author: Boruch Baum <boruch_baum@gmx.com>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Add a keybinding to the help menu to display manuals
    
    * lisp/help.el (help-for-help-internal): Add a keybinding to
    prompt for and display a manual (bug#43956).
---
 etc/NEWS     | 5 +++++
 lisp/help.el | 2 ++
 2 files changed, 7 insertions(+)

diff --git a/etc/NEWS b/etc/NEWS
index cc8733c..071edc5 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -562,6 +562,11 @@ skipped.
 +++
 *** New command 'describe-keymap' describes keybindings in a keymap.
 
+---
+*** New keybinding in 'help-for-help' to display a manual.
+The 'R' keybinding after 'C-h C-h' will prompt for a manual name and
+then display it.
+
 +++
 ** New command 'lossage-size'.
 It allows users to set the maximum number of keystrokes and commands
diff --git a/lisp/help.el b/lisp/help.el
index edef78d..9b7355c 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -101,6 +101,7 @@
     (define-key map "p" 'finder-by-keyword)
     (define-key map "P" 'describe-package)
     (define-key map "r" 'info-emacs-manual)
+    (define-key map "R" 'info-display-manual)
     (define-key map "s" 'describe-syntax)
     (define-key map "t" 'help-with-tutorial)
     (define-key map "w" 'where-is)
@@ -223,6 +224,7 @@ o SYMBOL    Display the given function or variable's 
documentation and value.
 p TOPIC     Find packages matching a given topic keyword.
 P PACKAGE   Describe the given Emacs Lisp package.
 r           Display the Emacs manual in Info mode.
+R           Prompt for a manual and then display it in Info mode.
 s           Display contents of current syntax table, plus explanations.
 S SYMBOL    Show the section for the given symbol in the Info manual
               for the programming language used in this buffer.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]