comparison lisp/help-fns.el @ 57794:2f9fe20953a6

(variable-at-point): read -> intern.
author Juri Linkov <juri@jurta.org>
date Sat, 30 Oct 2004 01:06:58 +0000
parents 24f213302267
children 42823717f9da e24e2e78deda
comparison
equal deleted inserted replaced
57793:ad073c2f3180 57794:2f9fe20953a6
471 (skip-chars-forward "'") 471 (skip-chars-forward "'")
472 (let ((obj (read (current-buffer)))) 472 (let ((obj (read (current-buffer))))
473 (and (symbolp obj) (boundp obj) obj)))) 473 (and (symbolp obj) (boundp obj) obj))))
474 (error nil)) 474 (error nil))
475 (let* ((str (find-tag-default)) 475 (let* ((str (find-tag-default))
476 (obj (if str (read str)))) 476 (obj (if str (intern str))))
477 (and (symbolp obj) (boundp obj) obj)) 477 (and (symbolp obj) (boundp obj) obj))
478 0)) 478 0))
479 479
480 ;;;###autoload 480 ;;;###autoload
481 (defun describe-variable (variable &optional buffer) 481 (defun describe-variable (variable &optional buffer)