mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-30 08:09:04 +00:00
(calc-view-news): Let-bind inhibit-read-only to t, use help-mode.
This commit is contained in:
parent
c9b630f7f2
commit
d9bc5288da
@ -393,12 +393,14 @@ C-w Describe how there is no warranty for Calc."
|
||||
(error "Can't locate Calc sources"))
|
||||
(calc-quit)
|
||||
(switch-to-buffer "*Help*")
|
||||
(erase-buffer)
|
||||
(insert-file-contents (expand-file-name "README" (car path)))
|
||||
(search-forward "Summary of changes")
|
||||
(forward-line -1)
|
||||
(delete-region (point-min) (point))
|
||||
(goto-char (point-min))))
|
||||
(let ((inhibit-read-only t))
|
||||
(erase-buffer)
|
||||
(insert-file-contents (expand-file-name "README" (car path)))
|
||||
(search-forward "Summary of changes")
|
||||
(forward-line -1)
|
||||
(delete-region (point-min) (point))
|
||||
(goto-char (point-min)))
|
||||
(help-mode)))
|
||||
|
||||
(defvar calc-help-long-names '((?b . "binary/business")
|
||||
(?g . "graphics")
|
||||
|
Loading…
Reference in New Issue
Block a user