Commit 1d14e80c authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(fortune-from-region): Use `eq' instead of `eql'.

parent 23b809c2
2001-04-23 Gerd Moellmann <gerd@gnu.org>
 
* play/fortune.el (fortune-from-region): Use `eq' instead of `eql'.
* textmodes/ispell.el, emacs-lisp/checkdoc.el,
* progmodes/ebrowse.el, play/fortune.el: Fix autoload cookies.
 
......
......@@ -201,9 +201,9 @@ read the file name to use. Otherwise use the value of `fortune-file'."
(point-max) t))
(if help-point
(setq newsgroup (buffer-substring (match-beginning 1) help-point))
(setq newsgroup (if (or (eql major-mode 'gnus-article-mode)
(eql major-mode 'vm-mode)
(eql major-mode 'rmail-mode))
(setq newsgroup (if (or (eq major-mode 'gnus-article-mode)
(eq major-mode 'vm-mode)
(eq major-mode 'rmail-mode))
fortune-from-mail
"unknown"))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment