Permalink
Browse files

.gitignore + added a check to investigate how often nyan-create funct…

…ion is called by emacs. Interestng findings.
  • Loading branch information...
1 parent c1d14a5 commit 662259004e04c4cd1d8681f3e6dc3e7b1f7eebb2 @TeMPOraL TeMPOraL committed Aug 18, 2011
Showing with 8 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +7 −2 nyan-mode.el
View
@@ -0,0 +1 @@
+*.sos
View
@@ -63,11 +63,16 @@ This can be t or nil."
(defvar nyan-cat-image (create-image "~/nyan.png" 'png nil :ascent 'center))
(defvar nyan-rainbow-image (create-image "~/rainbow.png" 'png nil :ascent 'center))
+(defvar ojej 0)
;;; TODO some content
(defun nyan-create ()
- (propertize "NYAN NYAN NYAN"
- 'display nyan-cat-image))
+ (setq ojej (+ 1 ojej))
+ (concat (format "%02d" ojej)
+ (propertize "NYAN NYAN NYAN"
+ 'display nyan-rainbow-image)
+ (propertize "NYAN NYAN NYAN"
+ 'display nyan-cat-image)))
;;;
;;; CARGO CULT WARNING I have no idea what it does, maybe will figure

0 comments on commit 6622590

Please sign in to comment.