summaryrefslogtreecommitdiff
path: root/lisp/apropos.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-09-15 02:37:28 +0000
committerGlenn Morris <rgm@gnu.org>2009-09-15 02:37:28 +0000
commita62f564f06a309c7407a1242626beda98035fc1b (patch)
tree986dea72c1faf079eaa8b1885baa623bc5fb5d8f /lisp/apropos.el
parent077bf69b90b88ef5a65a540c4a2c5d571ebebfab (diff)
downloademacs-a62f564f06a309c7407a1242626beda98035fc1b.tar.gz
(apropos-documentation-check-doc-file): Avoid assignment to free variable `doc'.
Diffstat (limited to 'lisp/apropos.el')
-rw-r--r--lisp/apropos.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/apropos.el b/lisp/apropos.el
index 117eeb8267e..f66ba95400a 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -821,7 +821,7 @@ Returns list of symbols and documentation found."
;; Finds all documentation related to APROPOS-REGEXP in internal-doc-file-name.
(defun apropos-documentation-check-doc-file ()
- (let (type symbol (sepa 2) sepb)
+ (let (type symbol (sepa 2) sepb doc)
(insert ?\^_)
(backward-char)
(insert-file-contents (concat doc-directory internal-doc-file-name))