We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b87b504 commit 1fd6c03Copy full SHA for 1fd6c03
record.el
@@ -14,12 +14,14 @@
14
(defun track-command-executed ()
15
"Records command executed and keys pressed"
16
(with-current-buffer rubykaigidribble
17
- (insert (format "cmd: %s keys %s\n" this-command (this-command-keys)))))
+ (insert (format "cmd: %s keys %s\n" this-command (this-command-keys)))
18
+ (write-file rubykaigidribble) ))
19
20
(defun track-mode-change ()
21
"Record the major mode and all minor-modes activated"
22
- (insert (format "major-mode: %s\nminor-modes: %s\n\n" major-mode minor-mode-list))))
23
+ (insert (format "major-mode: %s\nminor-modes: %s\n\n" major-mode minor-mode-list))
24
25
26
;; Not sure why, but setting these as a defun only winds up executing
27
;; the last hook.
0 commit comments