[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Journal package for Emacs?

From: David Forrest
Subject: Re: Journal package for Emacs?
Date: Mon, 9 Sep 2002 13:05:46 -0400

On 9 Sep 2002, Jochen [iso-8859-1] K?pper wrote:
> David> I was looking for a function like 'defined' and am probably
> David> missing something very basic. (when 'is-journal) is always true
> David> and stamps everything, while (when is-journal) stamps journal
> David> files, but faults with "Symbol's value as variable is void:
> David> is-journal"
> What's about boundp or bound-and-true-p?

Yep.  That's the basic thing I was missing exactly.  Thanks!

(defun my-journal-hook ()
  "Append time stamp to -*- is-journal: t -*- files."
    (when (boundp 'is-journal)

(add-hook 'find-file-hooks 'my-journal-hook)

 Dave Forrest                                   address@hidden
 (804)642-0662h (434)924-3954w

reply via email to

[Prev in Thread] Current Thread [Next in Thread]