1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-16 23:04:50 +00:00

Update Emacs tip

This commit is contained in:
Jermolene 2014-04-07 09:02:31 +01:00
parent b51d851f93
commit c4d0ee11d3

View File

@ -4,7 +4,11 @@ tags: tips
title: Editing Tiddlers with Emacs title: Editing Tiddlers with Emacs
type: text/vnd.tiddlywiki type: text/vnd.tiddlywiki
This [[Emacs|http://www.gnu.org/software/emacs/]] macro from Michael Fogleman simplifies editing tiddlers in `*.tid` files by automatically updating the `modified` field: This [[Emacs|http://www.gnu.org/software/emacs/]] function from Michael Fogleman simplifies editing tiddlers in `*.tid` files by automatically updating the `modified` field.
If you have Emacs, you can save this function somewhere (such as in your init file). When you finish editing a tiddler, you can call the function, and it will update the modified time.
> Help Wanted: Even better would be a TiddlyWiki-mode that used this function as a save-hook
``` ```
(defun tid-time () (defun tid-time ()