aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2008-06-20 16:20:48 +0000
committerStefan Monnier2008-06-20 16:20:48 +0000
commitb260aab7e0f28c6fa97558845c285107963abc85 (patch)
tree3390c1af48659a7e9b015b489953d94607964722
parent639fbfe13ac7b9a5959ed9d48babd46e40a236e9 (diff)
downloademacs-b260aab7e0f28c6fa97558845c285107963abc85.tar.gz
emacs-b260aab7e0f28c6fa97558845c285107963abc85.zip
(checkdoc-start-section, checkdoc-error):
Bind inhibit-read-only since the buffer is always read-only.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/checkdoc.el7
2 files changed, 10 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 37400ded85d..1e207f74f92 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12008-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/checkdoc.el (checkdoc-start-section, checkdoc-error):
4 Bind inhibit-read-only since the buffer is always read-only.
5
12008-06-20 Ulf Jasper <ulf@web.de> 62008-06-20 Ulf Jasper <ulf@web.de>
2 7
3 * net/newst-treeview.el (newsticker-treeview-own-frame): Changed 8 * net/newst-treeview.el (newsticker-treeview-own-frame): Changed
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index de23111754a..dc3bbe9a7cf 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -2605,7 +2605,9 @@ function called to create the messages."
2605 (checkdoc-output-mode) 2605 (checkdoc-output-mode)
2606 (setq default-directory dir) 2606 (setq default-directory dir)
2607 (goto-char (point-max)) 2607 (goto-char (point-max))
2608 (insert "\n\n\C-l\n*** " label ": " check-type " V " checkdoc-version)))) 2608 (let ((inhibit-read-only t))
2609 (insert "\n\n\C-l\n*** " label ": "
2610 check-type " V " checkdoc-version)))))
2609 2611
2610(defun checkdoc-error (point msg) 2612(defun checkdoc-error (point msg)
2611 "Store POINT and MSG as errors in the checkdoc diagnostic buffer." 2613 "Store POINT and MSG as errors in the checkdoc diagnostic buffer."
@@ -2616,7 +2618,8 @@ function called to create the messages."
2616 ": " msg))) 2618 ": " msg)))
2617 (with-current-buffer (get-buffer checkdoc-diagnostic-buffer) 2619 (with-current-buffer (get-buffer checkdoc-diagnostic-buffer)
2618 (goto-char (point-max)) 2620 (goto-char (point-max))
2619 (apply 'insert text)))) 2621 (let ((inhibit-read-only t))
2622 (apply 'insert text)))))
2620 2623
2621(defun checkdoc-show-diagnostics () 2624(defun checkdoc-show-diagnostics ()
2622 "Display the checkdoc diagnostic buffer in a temporary window." 2625 "Display the checkdoc diagnostic buffer in a temporary window."