From: "Joe Casadonte" <jcasadonte@northbound-train.com>
Subject: advising jde-compile -- a better way?
Date: Mon, 25 Oct 2004 13:44:07 -0400 [thread overview]
Message-ID: <uoeiqy9p4.fsf@terrapin.northbound-train.com> (raw)
jde-compile prompts me to save buffers before compiling, a practice
that I find personally annoying. I've come up with the following, but
it seems ugly:
(defadvice jde-compile (around jde-compile-no-save-prompt act)
"Supresses the save-buffer prompting."
(fset 'save-some-buffers-old-fn-def (symbol-function 'save-some-buffers))
(fset 'save-some-buffers 'ignore)
ad-do-it
(fset 'save-some-buffers (symbol-function 'save-some-buffers-old-fn-def)))
Is there a better or more elegant way to accomplish the same thing?
--
Regards,
joe
Joe Casadonte
jcasadonte@northbound-train.com
------------------------------------------------------------------------------
Llama Fresh Farms => http://www.northbound-train.com
Gay Media Resource List => http://www.northbound-train.com/gaymedia.html
Perl for Win32 => http://www.northbound-train.com/perlwin32.html
Emacs Stuff => http://www.northbound-train.com/emacs.html
Music CD Trading => http://www.northbound-train.com/cdr.html
------------------------------------------------------------------------------
Live Free, that's the message!
------------------------------------------------------------------------------
next reply other threads:[~2004-10-25 17:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-25 17:44 Joe Casadonte [this message]
2004-10-25 21:43 ` advising jde-compile -- a better way? Kevin Rodgers
2004-10-25 23:13 ` Michael Slass
2004-10-26 1:04 ` Daniel Pittman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=uoeiqy9p4.fsf@terrapin.northbound-train.com \
--to=jcasadonte@northbound-train.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.