From: martin rudalics <rudalics@gmx.at>
To: Sven Joachim <svenjoac@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: kill-buffer-if-not-modified: Wrong type argument: bufferp, t
Date: Tue, 22 Jan 2008 14:57:59 +0100 [thread overview]
Message-ID: <4795F667.9030000@gmx.at> (raw)
In-Reply-To: <87r6gawdrt.fsf@gmx.de>
> Please disregard this comment. Having slept over it, I now realize that
> C-x C-q should _not_ enter view mode, since Emacs was already told to
> exit view mode before.
By default C-x C-q _should_ re-enter view-mode when the buffer was in
view-mode before:
((and (not buffer-read-only) view-read-only
;; If view-mode is already active, `view-mode-enter' is a nop.
(not view-mode)
(not (eq (get major-mode 'mode-class) 'special)))
(view-mode-enter))
But note that Emacs 22.1 resets `view-exit-action' to nil when leaving
`view-mode' and `view-mode-enter' without argument does _not_ set it
again.
next prev parent reply other threads:[~2008-01-22 13:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-21 18:44 kill-buffer-if-not-modified: Wrong type argument: bufferp, t Sven Joachim
2008-01-21 19:55 ` Andreas Schwab
2008-01-21 20:07 ` Eli Zaretskii
2008-01-21 20:44 ` Sven Joachim
2008-01-22 6:55 ` Sven Joachim
2008-01-22 13:57 ` martin rudalics [this message]
2008-01-24 18:48 ` Sven Joachim
2008-01-25 4:42 ` Glenn Morris
2008-01-21 20:08 ` Stefan Monnier
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=4795F667.9030000@gmx.at \
--to=rudalics@gmx.at \
--cc=emacs-devel@gnu.org \
--cc=svenjoac@gmx.de \
/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.