+2000-05-02 Dave Love <fx@gnu.org>
+
+ * help.el (help-xref-on-pp): Check for constant symbols.
+
2000-04-29 Gerd Moellmann <gerd@gnu.org>
* startup.el (normal-top-level): Put a condition-case around
((looking-at "#<") (search-forward ">" nil 'move))
((looking-at "\\(\\(\\sw\\|\\s_\\)+\\)")
(let* ((sym (intern-soft
- (buffer-substring (match-beginning 1) (match-end 1))))
+ (buffer-substring (match-beginning 1)
+ (match-end 1))))
(fn (cond ((fboundp sym) #'describe-function)
- ((and sym (boundp sym)) #'describe-variable))))
+ ((or (memq sym '(t nil))
+ (keywordp sym))
+ nil)
+ ((and sym (boundp sym))
+ #'describe-variable))))
(when fn (help-xref-button 1 fn sym)))
(goto-char (match-end 1)))
(t (forward-char 1))))))
(enable-recursive-minibuffers t)
val)
(setq val (completing-read (if (symbolp v)
- (format "Describe variable (default %s): " v)
+ (format
+ "Describe variable (default %s): " v)
"Describe variable: ")
obarray 'boundp t nil nil
(if (symbolp v) (symbol-name v))))