[on behalf of Lennart Borgman <lennart.borgman.073@student.lu.se>]
Set buffer to read-only except for texinfo-format-region evaluation.
;;; Find a buffer to use.
(switch-to-buffer (get-buffer-create texinfo-region-buffer-name))
+ (setq buffer-read-only t)
+ (let ((inhibit-read-only t))
(erase-buffer)
;; Insert the header into the buffer.
(insert header-text)
(goto-char (point-min))
(Info-tagify input-buffer)
(goto-char (point-min))
- (message "Done.")))
+ (message "Done."))))
;;;###autoload
(defun texi2info (&optional nosplit)