diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-01 01:44:01 +0100 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2021-11-01 01:44:01 +0100 |
commit | 686d85c767d7c14d0cc6351701396cd71da37630 (patch) | |
tree | e3b0b08c240877227926bc9d961a72c6070fe8fb /lisp/calc | |
parent | c825c825256475ac5c74882811a44228140f18ee (diff) | |
download | emacs-686d85c767d7c14d0cc6351701396cd71da37630.tar.gz |
Include the major mode name in the `C-h b' output
* lisp/calc/calc-help.el (calc-describe-bindings): Don't add the
name since it's there now.
* src/keymap.c (Fdescribe_buffer_bindings): Include the major mode
name for symmetry with the minor modes (and because it's easy to
forget).
Diffstat (limited to 'lisp/calc')
-rw-r--r-- | lisp/calc/calc-help.el | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lisp/calc/calc-help.el b/lisp/calc/calc-help.el index dd5063f27d5..8481d0b5e9d 100644 --- a/lisp/calc/calc-help.el +++ b/lisp/calc/calc-help.el @@ -111,9 +111,6 @@ C-w Describe how there is no warranty for Calc." (with-current-buffer "*Help*" (let ((inhibit-read-only t)) (goto-char (point-min)) - (when (search-forward "Major Mode Bindings:" nil t) - (delete-region (point-min) (point)) - (insert "Calc Mode Bindings:")) (when (search-forward "Global bindings:" nil t) (forward-line -1) (delete-region (point) (point-max))) |