+2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * help-fns.el (describe-function-1, describe-variable): If no
+ replacement is provided, don't print "use nil instead".
+
2008-03-25 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
* proced.el: Update copyright.
(insert (format " since %s" (nth 2 obsolete))))
(insert ";\n"
(if (stringp (car obsolete)) (car obsolete)
- (format "use `%s' instead." (car obsolete)))
+ (if (null (car obsolete)) ""
+ (format "use `%s' instead." (car obsolete))))
"\n"))
(insert "\n"
(or doc "Not documented.")))))))
(if (cdr obsolete) (princ (format " since %s" (cdr obsolete))))
(princ ";\n ")
(princ (if (stringp (car obsolete)) (car obsolete)
- (format "use `%s' instead." (car obsolete))))
+ (if (null (car obsolete)) ""
+ (format "use `%s' instead." (car obsolete)))))
(terpri))
(when safe-var
(setq extra-line t)