|
From: | Cecil Westerhof |
Subject: | How to put this in a macro |
Date: | Tue, 04 May 2010 15:44:50 -0000 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
In my code I use the following code on several places: (if (equal start end) (setq start (point-min) end (point-max)) (setq start (or start (point-min))) (setq end (or end (point-max)))) I think it would be good to put this in a macro. How would I write a macro for this code? Or could it be done with a function? -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof
[Prev in Thread] | Current Thread | [Next in Thread] |