From: Eli Zaretskii Date: Fri, 8 Feb 2002 19:02:08 +0000 (+0000) Subject: (ffap-newsgroup-p): Test for non-nil symbol-value of htb. X-Git-Tag: emacs-21.2~97 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=787ae7a3b56ba40edeca2eb6ad0faa43f1aeb3c3;p=emacs.git (ffap-newsgroup-p): Test for non-nil symbol-value of htb. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b689991b882..8e55347e5e1 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2002-02-08 Eli Zaretskii + * ffap.el (ffap-newsgroup-p): Test for non-nil symbol-value of htb. + * calendar/cal-menu.el (calendar-mode-map): Change the menu item's name to "Insert Diary Entry". diff --git a/lisp/ffap.el b/lisp/ffap.el index fcded84e402..07ffb0dbd40 100644 --- a/lisp/ffap.el +++ b/lisp/ffap.el @@ -549,7 +549,8 @@ Looks at `ffap-ftp-default-user', returns \"\" for \"localhost\"." (progn ;; errs: htb symbol may be unbound, or not a hash-table. ;; gnus-gethash is just a macro for intern-soft. - (and (intern-soft string (symbol-value htb)) + (and (symbol-value htb) + (intern-soft string (symbol-value htb)) (setq ret string htbs nil)) ;; If we made it this far, gnus is running, so ignore "heads": (setq heads nil))