From: Michael Slass <miknrene@drizzle.com>
Subject: Re: advising jde-compile -- a better way?
Date: Mon, 25 Oct 2004 16:13:04 -0700 [thread overview]
Message-ID: <m3is8yo0hr.fsf@eric.rossnet.com> (raw)
In-Reply-To: uoeiqy9p4.fsf@terrapin.northbound-train.com
"Joe Casadonte" <jcasadonte@northbound-train.com> writes:
>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?
>
If JDE uses the compile package, then this variable will do what you
want, if you set it to a regex that matches anything.
,----[ C-h v compile-ignore-buffers-list RET ]
| compile-ignore-buffers-list's value is
| (".bbdb" ".newsrc-dribble")
|
|
| Documentation:
| List of buffer names to ignore when offering to save before compilation
|
| You can customize this variable.
|
| Defined in `compile'.
`----
--
Mike Slass
next prev parent reply other threads:[~2004-10-25 23:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-25 17:44 advising jde-compile -- a better way? Joe Casadonte
2004-10-25 21:43 ` Kevin Rodgers
2004-10-25 23:13 ` Michael Slass [this message]
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=m3is8yo0hr.fsf@eric.rossnet.com \
--to=miknrene@drizzle.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.