Glenn Morris
eb3fa2cfcf
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 08:06:51 +00:00
Stefan Monnier
cbee283dd7
Fix up comment convention on the arch-tag lines.
2008-04-10 14:10:46 +00:00
Eli Zaretskii
5e4f40ee64
(kill-buffer-if-not-modified): Add an autoload cookie.
2008-02-02 16:07:47 +00:00
Martin Rudalics
5e613c0246
(view-buffer): Explain in doc-string why exit-action
...
should not be set to kill-buffer.
2008-01-27 22:19:43 +00:00
Glenn Morris
ce173b302f
Sven Joachim <svenjoac at gmx.de>
...
(kill-buffer-if-not-modified): Don't pass t to buffer-modified-p.
2008-01-25 04:41:09 +00:00
Miles Bader
1bad168e59
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1006
2008-01-22 23:53:46 +00:00
Eli Zaretskii
404967ca97
Add comment before kill-buffer-if-not-modified.
2008-01-19 14:04:35 +00:00
Eli Zaretskii
dd18f44f3b
(view-file-other-window, view-file-other-frame): Fix last change.
...
(kill-buffer-if-not-modified): New function.
(view-file): Don't kill the buffer if it is modified.
2008-01-12 17:17:41 +00:00
Eli Zaretskii
48d93bebd5
(view-file-other-window, view-file-other-frame): Don't kill the buffer if it
...
is modified. Doc fixes.
2008-01-12 14:15:35 +00:00
Miles Bader
59ce725a3b
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea
Add 2008 to copyright years.
2008-01-07 02:45:14 +00:00
Martin Rudalics
78ddc123db
(view-remove-frame-by-deleting): Change default value to t.
...
Add autoload cookie.
(view-exit-action, view-file, view-file-other-window)
(view-file-other-frame, view-buffer, view-buffer-other-window)
(view-buffer-other-frame): Rewrite doc strings.
(view-return-to-alist-update): New function to remove stale entries
from view-return-to-alist.
(view-mode-enter): Rewrite doc string and simplify code.
(view-mode-exit): Handle new case 'keep-frame. Don't reset
view-exit-action to nil. Simplify code and rewrite doc string.
2007-11-10 09:52:30 +00:00
Glenn Morris
138c66b0dc
(view-search-no-match-lines): Fix previous change (went wrong if
...
regexp to not be matched matched last thing in the buffer).
2007-09-25 07:06:16 +00:00
Glenn Morris
7920b6e855
(view-search-no-match-lines): Fix previous change (went wrong if
...
regexp to not be matched matched last thing in the buffer).
2007-09-25 07:06:06 +00:00
Glenn Morris
5aca5ac39c
(view-search-no-match-lines): Add a doc string. Rewrite to simplify
...
and work better.
2007-09-25 02:28:49 +00:00
Glenn Morris
c1117b8f47
(view-search-no-match-lines): Add a doc string. Rewrite to simplify
...
and work better.
2007-09-25 02:27:03 +00:00
Glenn Morris
4837b516ea
Replace `iff' in doc-strings and comments.
2007-08-08 07:40:09 +00:00
Glenn Morris
b4aa60262c
Switch license to GPLv3 or later.
2007-07-25 04:50:21 +00:00
Juanma Barranquero
39d9e44fa7
(view-inhibit-help-message): Fix typo in docstring.
...
(view-scroll-auto-exit, view-try-extend-at-buffer-end): Doc fixes.
2007-05-16 11:31:39 +00:00
Juanma Barranquero
38acf670fb
(view-mode): Fix typos in docstring.
2007-03-28 09:16:41 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Thien-Thi Nguyen
aaef169dc6
Update years in copyright notice; nfc.
2006-02-06 15:23:23 +00:00
Eli Zaretskii
2f33468cdc
(view-mode): Doc fix.
2005-12-03 14:35:38 +00:00
Romain Francoise
1c0484e2a2
(view-inhibit-help-message): New defcustom.
...
(view-mode-enter): Use it.
2005-11-29 10:53:30 +00:00
Andreas Schwab
a312f21413
(View-revert-buffer-scroll-page-forward): Use
...
view-page-size-default.
2005-10-28 09:43:01 +00:00
Thien-Thi Nguyen
0d30b33766
Update years in copyright notice; nfc.
2005-08-06 22:13:43 +00:00
Lute Kamstra
086add1519
Update FSF's address.
2005-07-04 23:32:44 +00:00
Richard M. Stallman
5bf70f477c
(view-mode-enable): Set view-page-size and view-half-page-size to nil.
...
(view-set-half-page-size-default):
view-half-page-size = nil means the default.
(View-scroll-page-forward): Use view-page-size-default.
(View-scroll-page-backward): Likewise.
(view-page-size, view-half-page-size): Doc fixes.
2004-10-16 15:24:34 +00:00
Richard M. Stallman
da932079d0
(view-return-to-alist): Mark it permanent local.
2004-04-20 20:57:10 +00:00
Andreas Schwab
9aaa0f71cd
Revert previous change.
2004-02-07 23:39:18 +00:00
Andreas Schwab
daa3ea8d18
(view-mode-enable): Add view-mode-map to
...
minor-mode-overriding-map-alist.
2004-02-06 21:41:45 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Richard M. Stallman
90bb2ff453
(view-file): If existing buffer's major mode is special,
...
don't go into view mode.
2003-07-09 16:16:54 +00:00
Stefan Monnier
981b7b0c72
(view-file, view-file-other-window, view-file-other-frame):
...
Signal an error when trying to visit an inexistent file.
2003-05-31 17:53:24 +00:00
Richard M. Stallman
0d63ba8cd9
(Helper-return-blurb): Add defvar. (Also rearrange defuns.)
2003-05-03 13:52:17 +00:00
Stefan Monnier
cb211eb2f6
(view-read-only): Move from view.el to files.el.
2003-04-18 13:53:18 +00:00
Juanma Barranquero
f1180544bb
Trailing whitespace deleted.
2003-02-04 12:29:42 +00:00
Richard M. Stallman
4790accb2a
(view-mode): Doc fix.
2003-01-25 19:43:29 +00:00
Richard M. Stallman
1f5f6db607
(view-mode-enter): Clarify echo area message.
2002-06-12 12:20:51 +00:00
Stefan Monnier
c4d9b0d996
(view-mode-enable): Don't use make-local-hook.
2001-11-17 00:00:26 +00:00
Gerd Moellmann
284b3043c0
Add Keywords header.
2001-09-04 12:54:14 +00:00
Gerd Moellmann
fd78d527b7
(toplevel): Use mode-line-minor-mode-keymap for the
...
minor mode name.
2001-08-09 14:51:48 +00:00
Pavel Janík
e8af40eed4
Some fixes to follow coding conventions.
2001-07-16 12:23:00 +00:00
Dave Love
4503fe8bd2
Use local-map property, not keymap on mode-line string.
2000-11-12 00:53:35 +00:00
Dave Love
e209b8378e
(minor-mode-alist): Propertize the string.
2000-09-17 17:00:05 +00:00
Richard M. Stallman
b75c9917df
(view-mode-disable): Kill local binding of view-read-only.
2000-03-19 15:56:40 +00:00
Gerd Moellmann
d1ed8492ac
Some changes in documentation. Removed some trailing
...
whitespace. Changed some parameter names to agree with
documentation.
(view-mode-exit): Keep entry in `view-return-to-alist' only when a
window is not deleted. Modifies change 1998-04-26.
2000-01-31 21:34:33 +00:00
Karl Heuer
bf551cf705
(view-mode-disable): If buffer-read-only is nil,
...
don't change it.
1999-08-10 16:40:00 +00:00
Karl Heuer
19b7f6c9f0
(view-mode-enable, view-mode-disable):
...
Call force-mode-line-update.
1999-08-10 16:37:57 +00:00
Andreas Schwab
5d9b78b761
(View-revert-buffer-scroll-page-forward): Bind
...
view-scroll-auto-exit instead of obsolete view-mode-auto-exit.
1999-01-04 11:04:27 +00:00