Paste number 3171: single-file-hook

Paste number 3171: single-file-hook
Pasted by: myrkraverk
When:5 years, 10 months ago
Share:Tweet this! | http://paste.lisp.org/+2G3
Channel:#emacs
Paste contents:
Raw Source | XML | Display As
(add-hook 'text-mode-hook (lambda ()
			    (if
				(string-match
				 "project_zero_transcript\\.text"
				 buffer-file-name)
				(add-hook 'local-write-file-hook
					  (lambda ()
					    (let (time-stamp-active t)
					      time-stamp))))))

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.