1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00
Commit Graph

434 Commits

Author SHA1 Message Date
Glenn Morris
f7a31f1108 Set the version number in the texinfo manuals using configure.
* doc/misc/Makefile.in (emacsdir): New variable.
($(infodir)/efaq): Pass -I $(emacsdir) to makeinfo.
* doc/misc/faq.texi (VER): Replace with EMACSVER from emacsver.texi.

* doc/lispref/Makefile.in (emacsdir): New variable.
(MAKEINFO): Add -I $emacsdir.
(dist): Copy emacsver.texi.
* doc/lispref/book-spine.texinfo, doc/lispref/elisp.texi:
* doc/lispref/vol2.texi, doc/lispref/vol1.texi:
Set EMACSVER by including emacsver.texi.

* doc/emacs/emacsver.texi.in: New file.
* doc/emacs/emacs.texi: Set EMACSVER by including emacsver.texi.
* doc/emacs/Makefile.in (distclean): Delete emacsver.texi.
(dist): Copy emacsver.texi.

* admin/admin.el (set-version): No need to act on doc/ files any more.

* configure.in (AC_OUTPUT): Add doc/emacs/emacsver.texi.
* make-dist: Include doc/emacs/*.texi.in.
2010-10-08 18:41:21 -07:00
Glenn Morris
ea274122d5 Mark some doc/ rules as PHONY.
* doc/misc/Makefile.in (.PHONY): Declare info, dvi, pdf and the clean rules.

* doc/lispref/Makefile.in (.PHONY): Declare info, dvi, pdf, dist.

* doc/lispintro/Makefile.in (.PHONY): Declare info, dvi, html, pdf, dist.

* doc/emacs/Makefile.in (.PHONY): Declare info, dvi, pdf, dist.
(emacs): Remove rule.
(dist): No need to deal with the emacs rule any more.
2010-10-08 18:02:21 -07:00
Juanma Barranquero
4628bef1ee Merge changes from emacs-23 branch. 2010-10-08 12:14:47 +02:00
Glenn Morris
17ca795035 Include version number in doc `make dist' tarfiles.
* doc/lispref/Makefile.in (version): New, set by configure.
(clean): Delete dist tar file.
(dist): Use version in tar name.

* doc/lispintro/Makefile.in (version): New, set by configure.
(clean): Delete dist tar file.
(dist): Use version in tar name.

* doc/emacs/Makefile.in (version): New, set by configure.
(clean): Delete dist tar file.
(dist): Use version in tar name.
2010-10-06 19:23:28 -07:00
Glenn Morris
8a944cea15 Minor doc/*/Makefile.in change.
* doc/emacs/Makefile.in ($(infodir)): Add parallel build workaround.
* doc/lispintro/Makefile.in ($(infodir)): Add parallel build workaround.
* doc/lispref/Makefile.in ($(infodir)): Add parallel build workaround.
* doc/misc/Makefile.in ($(infodir)): Add parallel build workaround.
2010-10-05 21:20:46 -07:00
Glenn Morris
4c83f6e1e2 Misc cleanup for doc/*/Makefiles.
* doc/misc/Makefile.in (SHELL): Set it.
(info): Move the mkdir dependency to the individual info files.
(mostlyclean): Tidy up.
(clean): Only delete the specific dvi and pdf files.
(maintainer-clean): Be more restrictive in what we delete.

* doc/lispref/Makefile.in: Rearrange to more closely resemble
doc/emacs/Makefile.
(INSTALL_INFO): Remove unused variable.
(mostlyclean, infoclean, dist): New rules.
(clean): Delete dvi and pdf files.
(maintainer-clean): Remove elisp.oaux, use infoclean.

* doc/lispintro/Makefile.in (SHELL): Use /bin/sh, like every other Makefile.in.
(INFO_SOURCES, INFO_TARGETS, DVI_TARGETS): Remove variables.
($(infodir), html, pdf, infoclean, dist): New rules.
(${infodir}/eintr): Ensure $infodir exists.  Use $@.
(emacs-lisp-intro.dvi, emacs-lisp-intro.pdf, emacs-lisp-intro.html): Use $^.
(.PHONY): Declare clean rules.
(mostlyclean): Delete more temp files.
(clean): Delete specific dvi, pdf and html files.
(maintainer-clean): Use infoclean.
(.NOEXPORT): Remove, unused by any other Makefile.in.

* doc/emacs/Makefile.in (EMACS_XTRA): Add the main source file.
(emacs-xtra.dvi, emacs-xtra.pdf): Remove explicit emacs-xtra.texi.
(mostlyclean): No core files, reorder other files.
(clean): Delete specific dvi and pdf files.
(infoclean, dist): New rules.
(maintainer-clean): Use infoclean.
2010-10-05 19:26:38 -07:00
Glenn Morris
8cce34d087 * doc/lispref/Makefile.in ($(infodir)/elisp): Fix -I typo. 2010-10-03 17:55:42 -07:00
Glenn Morris
0264072dee Minor doc Makefile.in clean-up.
* doc/emacs/Makefile.in (SHELL): Set it.
(INFO_TARGETS, DVI_TARGETS): Remove variables.
(info, dvi): Replace above variables with their expansions.
(info): Move mkdir from here...
($(infodir)/emacs): ... to here (for parallel builds).
(pdf): New target.
($(infodir)/emacs): Pass -o option to makeinfo.
(.PHONY): Declare clean rules.
(maintainer-clean): Delete dvi and pdf files.
Guard against cd failures.  Use a more restrictive delete.

* doc/lispref/Makefile.in (dvi, pdf, $(infodir)): New targets.
($(infodir)/elisp): Ensure target directory exists.  Use $@.
(clean): No 'make.out' or 'core' files.
(.PHONY): Declare clean rules.
(maintainer-clean): Delete pdf file.  Guard against cd failures.
2010-10-03 17:49:20 -07:00
Glenn Morris
77f3894962 Remove directory-sep-char, obsolete since 21.1.
* lisp/subr.el (directory-sep-char): Remove obsolete variable.
* lisp/net/tramp-compat.el: Don't mess about with the byte-compiler unless
it is "necessary".

* doc/lispref/files.texi (File Name Components): Remove ignored
section about deleted variable directory-sep-char.

* etc/NEWS: Mention above change.
2010-10-03 14:23:13 -07:00
Michael Albinus
178fdd41ca * files.texi (Magic File Names): New defopt remote-file-name-inhibit-cache. 2010-10-03 17:58:09 +02:00
Glenn Morris
39f9da30e9 Add missing ChangeLog entry for r1.146 of lispref/text.texi. 2010-10-02 18:18:35 -07:00
Glenn Morris
9c524fcb89 Run kill-emacs-hook in batch mode, and on SIGINT in batch mode.
See thread http://lists.gnu.org/archive/html/emacs-devel/2010-09/msg00795.html

* src/emacs.c (fatal_error_signal): Also run Fkill_emacs on SIGINT.
(main) [!WINDOWSNT]: Handle SIGINT with fatal_error_signal
in batch-mode.
(Fkill_emacs): Doc fix.  Also run the hook in batch mode.
(kill-emacs-hook): Doc fix.

* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
delete tempfile if interrupted during compilation.

* doc/lispref/os.texi (Killing Emacs): Hook now runs in batch mode.

* etc/NEWS: Mention these changes.
2010-10-01 19:30:11 -07:00
Stefan Monnier
f816790bfb * lispref/text.texi (Special Properties): Clarify when modification-hooks run. 2010-09-18 17:50:06 +02:00
Stefan Monnier
7cf78aac59 * doc/lispref/syntax.texi (Syntax Flags): Document new `c' flag. 2010-09-11 15:58:57 +02:00
Glenn Morris
ca0d44e4ec * doc/lispref/display.texi (ImageMagick Images): General cleanup. 2010-09-08 19:18:38 -07:00
Chong Yidong
1099930585 Merge changes from emacs-23 branch. 2010-09-06 12:38:03 -04:00
Alexander Klimov
3fa0dc8f4d * doc/lispref/files.texi (Directory Names): Use \` rather than ^.
* lisp/files.el (directory-abbrev-alist): Use \` as default regexp.
2010-09-06 00:03:56 +02:00
Chong Yidong
86bbbedfeb Revert last change. 2010-09-04 14:36:24 -04:00
Chong Yidong
cbc72326a8 * frames.texi (Layout Parameters): Add cindex entries (Bug#6929). 2010-09-04 14:21:48 -04:00
Jan Djärv
4524012543 Remove cut buffer from documentation.
* doc/emacs/frames.texi (Cut/Paste Other App): Remove vut-buffer text.

* doc/lispref/text.texi (Low-Level Kill Ring):
* doc/lispref/frames.texi (Window System Selections): Remove cut buffer
documentation.

* doc/misc/cl.texi (Basic Setf): Remove x-get-cut-buffer and x-get-cutbuffer.

* lisp/term/x-win.el (x-select-text):
* lisp/term/pc-win.el (x-selection-value):
* lisp/term/ns-win.el (x-selection-value):
* lisp/eshell/em-term.el:
* lisp/w32-fns.el (x-get-selection-value):
* lisp/mouse-sel.el (mouse-sel-set-selection-function):
* lisp/frame.el (display-selections-p): Remove cut-buffer in documentation.

* lisp/term.el (term-mouse-paste): Don't call x-get-cutbuffer.
Remove cut buffer from error message.
2010-09-02 12:17:02 +02:00
Eli Zaretskii
4abe5bf64a Improve ELisp manual to fix bug #6929.
display.texi (Fringe Size/Pos): Add a cross-reference to "Layout
 Parameters", where the default fringe width is described.
 frames.texi (Window Frame Parameters, Basic Parameters)
 (Position Parameters, Layout Parameters, Management Parameters)
 (Cursor Parameters, Font and Color Parameters): Add indexing for
 frame parameters.  (Bug#6929)
2010-08-28 11:10:13 +03:00
Tom Tromey
fdc76236a9 * vol2.texi (Top): Update.
* vol1.texi (Top): Update.
	* tips.texi (Library Headers): Mention Package-Version and
	Package-Requires.
	* package.texi: New file.
	* os.texi (System Interface): Update pointers.
	* elisp.texi (Top): Link to new nodes.  Include package.texi.
	* anti.texi (Antinews): Update pointers.
2010-08-25 14:25:32 -06:00
Eli Zaretskii
1e5c1c8076 Fix last change in processes.texi.
processes.texi (Filter Functions): Fix last change.
2010-08-25 01:23:47 -04:00
Chong Yidong
78e33835a3 Fix filter functions discussion in Lisp manual.
* processes.texi (Filter Functions): Use `buffer-live-p' instead
of `buffer-name' in the main text as well as in the example
(Bug#3098).
2010-08-24 16:43:24 -04:00
Chong Yidong
198a7a97ff Make obsolete --unibyte argument do nothing (Bug#6886).
* src/emacs.c (main): Remove --unibyte handling (Bug#6886).

* lisp/startup.el (command-line-1): Issue warning for ignored arguments
--unibyte, etc (Bug#6886).

* doc/lispref/nonascii.texi (Text Representations):
* doc/lispref/loading.texi (Loading Non-ASCII):
* doc/lispref/compile.texi (Byte Compilation): Don't mention obsolete
--unibyte command-line argument.
2010-08-22 17:15:20 -04:00
Chong Yidong
b0126eac41 Merge changes from emacs-23 branch. 2010-08-22 16:02:16 -04:00
Chong Yidong
bc7d7ea63b Doc fix for define-minor-mode (Bug#6880).
* doc/lispref/modes.texi (Defining Minor Modes): Doc fix (Bug#6880).

* emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
2010-08-22 15:30:26 -04:00
Eli Zaretskii
e8a6cc19a3 Add cross-references regarding POSITION of mouse events.
commands.texi (Misc Events): Add cross-references to where
 POSITION of a mouse event is described in detail.
2010-08-20 23:07:29 +03:00
Chong Yidong
96b1842de8 * objects.texi (Bool-Vector Type): Minor definition tweak (Bug#6878). 2010-08-19 19:23:13 -04:00
Chong Yidong
7815fe1985 Merge changes from emacs-23 branch 2010-08-08 17:12:29 -04:00
Stefan Monnier
ee301a7a19 * lispref/control.texi (Handling Errors) <error-message-string>: Fix arg name.
Fixes: debbugs:6770
2010-08-02 12:35:34 +02:00
Jan Djärv
8b2dd50845 Add doc and NEWS for tool-bar-position.
* doc/emacs/frames.texi (Tool Bars): Add doc for tool-bar-position.

* doc/lispref/frames.texi (Layout Parameters): Add doc for tool-bar-position.
2010-07-29 19:10:41 +02:00
Michael Albinus
bace45fe15 * processes.texi (Process Information): Explain process property
`remote-tty'.
2010-07-29 15:54:03 +02:00
Juanma Barranquero
e8bf5266a2 * doc/lispref/modes.texi (Defining Minor Modes): Use C-backspace, not C-delete. 2010-07-29 02:58:16 +02:00
Juanma Barranquero
b4f588fa4a Document arguments passed to `read-buffer-function' (bug#5625).
* doc/lispref/minibuf.texi (High-Level Completion): Document args of
  `read-buffer-function'.
* src/minibuf.c (syms_of_minibuf) <read-buffer-function>: Doc fix.
2010-07-28 02:15:49 +02:00
Juanma Barranquero
0ed082fedf Merge from emacs-23 2010-07-27 04:10:05 +02:00
Juanma Barranquero
4ce5a4ccd4 * modes.texi (Defining Minor Modes): Use C-delete in examples (bug#6334). 2010-07-27 03:37:23 +02:00
Juanma Barranquero
c4cc8b9a23 Fix typos in ChangeLogs. 2010-07-24 13:53:19 +02:00
Juanma Barranquero
1c84bc7afa * text.texi (Special Properties): Fix typo. 2010-07-21 20:05:31 +02:00
Juanma Barranquero
a628ad9d97 Fix typos in ChangeLogs. 2010-07-20 13:13:25 +02:00
Chong Yidong
2ec1b5ee34 Merge changes from emacs-23 branch. 2010-07-10 14:52:53 -04:00
Eli Zaretskii
b88746ba3f Adapt docs of primitives to ANSI C arg list.
internals.texi (Writing Emacs Primitives): Adapt to ANSI C
 calling sequences, which are now the standard.
2010-07-09 11:38:50 +03:00
Chong Yidong
51422d6dde Clarify command loop's role in undo boundary (Bug#2433).
* text.texi (Undo): Clarify command loop behavior (Bug#2433).
* commands.texi (Command Overview): Mention undo-boundary call.
2010-06-24 15:05:47 -04:00
Glenn Morris
d24880de8b Untabify doc/lispref/*.texi.
* abbrevs.texi, commands.texi, compile.texi, debugging.texi:
* display.texi, edebug.texi, elisp.texi, eval.texi, files.texi:
* frames.texi, functions.texi, internals.texi, keymaps.texi:
* loading.texi, minibuf.texi, numbers.texi, os.texi, processes.texi:
* searching.texi, sequences.texi, strings.texi, syntax.texi:
* text.texi, tips.texi, vol1.texi, vol2.texi, windows.texi:
Untabify Texinfo files.
2010-06-22 20:36:56 -07:00
Chong Yidong
0fc76035ed * modes.texi (Minor Mode Conventions): Fix typo (Bug#6477). 2010-06-20 12:30:27 -04:00
Chong Yidong
5338dc0b10 * errors.texi (Standard Errors): Remove unnecessary markup (Bug#6461). 2010-06-19 14:06:37 -04:00
Andreas Schwab
639b2760f1 Merge from emacs-23 2010-06-10 00:08:50 +02:00
Chong Yidong
ba3bf1d951 Better doc fix for Bug#6283.
searching.texi (Regexp Special): Remove obsolete information
about matching non-ASCII characters, and suggest using char
classes (Bug#6283).
2010-06-02 13:26:31 -04:00
Chong Yidong
2c3a3c1d03 searching.texi (Regexp Special): Replace "octal 377" with "#o377" (Bug#6283). 2010-06-02 13:14:01 -04:00
Stefan Monnier
fd67a7000e Merge from emacs-23 2010-05-31 22:34:49 -04:00