~ubuntu-branches/debian/stretch/ecb/stretch

« back to all changes in this revision

Viewing changes to ecb-tod.el

  • Committer: Package Import Robot
  • Author(s): Balint Reczey
  • Date: 2014-10-25 16:13:05 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20141025161305-6cg7rnaao1xa4ngb
Tags: 2.40+git20140216-1
* Adopting the package
  Thanks to Mike O'Connor for maintaing the package (Closes: #766440)
* New upstream snapshot (Closes: #729865)
* Drop obsoleted patches
* Bump dh compat level to 9
* Move packaging repository to git.debian.org
* Depend on default emacs (Closes: #754002)
* Bump standards version, no changes needed
* Move homepage URL to source package description

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
;; GNU Emacs; see the file COPYING.  If not, write to the Free Software
24
24
;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
25
25
 
26
 
;; $Id: ecb-tod.el,v 1.23 2009/04/21 15:23:22 berndl Exp $
 
26
;; $Id$
27
27
 
28
28
;;; Commentary:
29
29
;;
124
124
(defun ecb-show-tip-of-the-day ()
125
125
  "Show tip of the day if `ecb-tip-of-the-day' is not nil."
126
126
  (interactive)
127
 
  (when (or (interactive-p) ecb-tip-of-the-day)
 
127
  (when (or (ecb-interactive-p) ecb-tip-of-the-day)
128
128
    (ignore-errors (load-file ecb-tip-of-the-day-file))
129
129
    (let* ((cursor (if (boundp 'ecb-tod-cursor)
130
130
                       ecb-tod-cursor
146
146
 
147
147
(silentcomp-provide 'ecb-tod)
148
148
 
149
 
;; ecb-tod.el ends here
 
 
b'\\ No newline at end of file'
 
149
;; ecb-tod.el ends here