1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00
Commit Graph

113 Commits

Author SHA1 Message Date
Andreas Schwab
97ab3f47a6 (view-mode-exit): If OLD-BUF is dead bury the buffer
instead of deleting the window or frame.
2009-11-01 09:47:58 +00:00
Juanma Barranquero
5a0c3f568d Fix typos.
* allout.el
* dired-aux.el
* dired-x.el
* epa-file.el
* ps-print.el
* shell.el
* vc-hooks.el
* vc-rcs.el
* vc-sccs.el
* vc.el
* view.el
* wdired.el
* emacs-lisp/authors.el
* net/dig.el
* net/socks.el
* net/zeroconf.el
* obsolete/vc-mcvs.el
* progmodes/gdb-mi.el
* progmodes/grep.el
* progmodes/idlw-help.el
* progmodes/idlw-shell.el
* progmodes/idlwave.el
* progmodes/inf-lisp.el
* textmodes/bibtex.el
* textmodes/ispell.el
* textmodes/reftex-toc.el
2009-09-24 01:37:14 +00:00
Glenn Morris
e6ce8c4239 Use forward-line rather than goto-line. 2009-08-22 19:29:18 +00:00
Chong Yidong
5704140c4d * view.el (view-mode-enable): Don't define Helper-return-blurb if
it's not needed.
2009-07-26 23:06:49 +00:00
Chong Yidong
9d14bd379a * view.el (view-window-size): Use window-line-height to find window height.
(view-page-size-default): Return nil if LINES is nil, 0, or larger
than the window height.
(view-scroll-lines): Handle nil value for DEFAULT arg (Bug#3361).
2009-05-26 18:19:27 +00:00
Chong Yidong
f2872f04a4 * view.el (view-recenter): Allow recenter to compute window height
normally.
2009-05-26 14:37:51 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Lute Kamstra
9201cc281b * align.el:
* allout.el:
* apropos.el:
* arc-mode.el:
* autoinsert.el:
* avoid.el:
* battery.el:
* bookmark.el:
* buff-menu.el:
* calculator.el:
* chistory.el:
* cmuscheme.el:
* comint.el:
* compare-w.el:
* dabbrev.el:
* delim-col.el:
* desktop.el:
* diff-mode.el:
* diff.el:
* dired-aux.el:
* dired-x.el:
* dired.el:
* dos-vars.el:
* ediff-diff.el:
* ediff-help.el:
* ediff-init.el:
* ediff-merg.el:
* ediff-mult.el:
* ediff-ptch.el:
* ediff-vers.el:
* ediff-wind.el:
* ediff.el:
* emerge.el:
* facemenu.el:
* faces.el:
* ffap.el:
* filecache.el:
* find-dired.el:
* font-core.el:
* font-lock.el:
* forms.el:
* fringe.el:
* help-at-pt.el:
* hippie-exp.el:
* ido.el:
* image-file.el:
* imenu.el:
* indent.el:
* info.el:
* isearchb.el:
* iswitchb.el:
* jit-lock.el:
* jka-compr.el:
* log-edit.el:
* lpr.el:
* ls-lisp.el:
* man.el:
* menu-bar.el:
* midnight.el:
* mouse-sel.el:
* mouse.el:
* msb.el:
* outline.el:
* paren.el:
* pcmpl-cvs.el:
* pcmpl-gnu.el:
* pcomplete.el:
* pcvs-info.el:
* pcvs-parse.el:
* printing.el:
* ps-mule.el:
* ps-print.el:
* replace.el:
* ruler-mode.el:
* saveplace.el:
* sb-image.el:
* scroll-bar.el:
* sha1.el:
* shadowfile.el:
* shell.el:
* sort.el:
* speedbar.el:
* strokes.el:
* tempo.el:
* term.el:
* terminal.el:
* time-stamp.el:
* time.el:
* tree-widget.el:
* type-break.el:
* vc-cvs.el:
* vc-hg.el:
* vc-mcvs.el:
* vc-rcs.el:
* vc-sccs.el:
* vc.el:
* view.el:
* w32-vars.el:
* whitespace.el:
* wid-edit.el: Remove leading * from docstrings of defcustoms,
deffaces, defconsts and defuns.
2008-12-03 05:48:14 +00:00
Juanma Barranquero
53785457b0 Fix typo in comment. 2008-11-04 17:08:15 +00:00
Stefan Monnier
4e09950491 Fix up comments. 2008-06-24 13:29:28 +00:00
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