1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-20 20:50:53 -08:00
Commit graph

1492 commits

Author SHA1 Message Date
Stefan Monnier
de0503df97 * lisp/subr.el (with-eval-after-load): New macro.
(eval-after-load): Allow form to be a function.
take advantage of lexical-binding.
(do-after-load-evaluation): Use dolist and adjust to new format.
* lisp/simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
* doc/lispref/loading.texi (Hooks for Loading): Document with-eval-after-load
instead of eval-after-load.  Don't document after-load-alist.
* src/lread.c (syms_of_lread):
* src/fns.c (Fprovide): Adjust to new format of after-load-alist.
2013-06-13 18:24:52 -04:00
Xue Fuqiao
823777b533 Make the example more intuitive.
* doc/lispref/files.texi (File Name Expansion): Make the example more
  intuitive.
2013-06-11 19:37:56 +08:00
Paul Eggert
08c0a604a2 Documentation fix for 'ls' and hard links.
* compile.texi (Compilation Functions):
* files.texi (File Attributes, Changing Files):
Use current format for GNU 'ls' output.
(File Attributes): Fix problem introduced in previous change:
the link count is the number of hard links, not the number
of hard links + 1.
2013-06-10 13:26:20 -07:00
Xue Fuqiao
e4568f3bc5 * doc/lispref/files.texi (File Attributes): Fix typo. 2013-06-10 19:19:12 +08:00
Stefan Monnier
a5cf7779bc * doc/lispref/functions.texi (Lambda Expressions): Lambda expressions don't
evaluate to themselves in general.

Fixes: debbugs:11782
2013-05-28 20:24:50 -04:00
Stefan Monnier
6e911150d0 Use just DOC instead of DOC-nn.mm.
* lisp/loadup.el: Just use unversioned DOC.
* Makefile.in (install-doc): DOC file is not version specific any more.
* .bzrignore: Don't ignore DOC-* any more.
* admin/quick-install-emacs: Don't prune DOC-* files a any more.
* doc/lispref/loading.texi (Autoload):
* doc/lispref/help.texi (Documentation Basics, Accessing Documentation)
(Accessing Documentation, Accessing Documentation): DOC-* is now DOC.
* etc/.gitignore: Don't ignore DOC-* any more.
* lib-src/makefile.w32-in ($(DOC)): Use DOC rather than DOC-X.
* msdos/sed1x.inp: Don't rewrite DOC any more.
* nt/makefile.w32-in (clean, top-distclean): DOC-X doesn't exist any more.
* src/Makefile.in (bootstrap-clean): DOC-* doesn't exist any more.
* src/makefile.w32-in (DOC): Use just "DOC".
2013-05-15 16:12:53 -04:00
Glenn Morris
b02b54814a * doc/lispref/internals.texi (Writing Emacs Primitives): Remove obvious example.
Tweak other to avoid overly long line.
2013-04-23 11:57:44 -07:00
Xue Fuqiao
84ebefe92f * doc/lispref/internals.texi (Writing Emacs Primitives): Remove unnecessary references to the sources. (Bug#13800) 2013-04-21 19:16:30 +08:00
Xue Fuqiao
f8152bcb32 searching.texi (Regexp Backslash): Doc fix for backslash constructs in regular expressions. 2013-04-21 11:27:51 +08:00
Christopher Schmidt
8fa2654ed8 * etc/NEWS, doc/lispref/tips.texi (Coding Conventions): Mention
separation of package descriptor and name of internal symbols by
two hyphens.
2013-04-15 19:01:00 +02:00
Stephen Berman
0aa3616eed Make `split-window' a non-interactive function.
* doc/lispref/windows.texi (Splitting Windows): Change category of
split-window from a command to a function.

* etc/NEWS: Mention fixing `split-window' to be non-interactive.

* window.el (split-window): Remove interactive form, since as a
command this function is a special case of split-window-below.
Correct doc string.
2013-04-13 16:37:20 +02:00
Chong Yidong
cd54262019 Improve Lisp manual documentation on setting faces.
* display.texi (Faces): Minor clarifications.
(Defining Faces): Clarify default vs custom face specs.  Document
face-spec-set.

* display.texi (Overlay Properties):
* text.texi (Special Properties): Use the "anonymous face"
terminology.  Describe foreground-color and background-color forms
as compatibility-only.
2013-04-06 15:39:48 +08:00
Glenn Morris
47d038b3af ChangeLog fixes
2013-03-16 was not the date Emacs 24.3 was released, it was not even
the date on which I merged all changes from that release into trunk.
Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00990.html
2013-04-03 20:46:25 -07:00
Eli Zaretskii
8d0c20aefa Minor improvements in ELisp manual.
doc/lispref/compile.texi (Byte-Code Objects): Add index entry.
 (Disassembly): Add cross-references.
2013-03-24 19:55:06 +02:00
Eli Zaretskii
45f1d36260 Fix bug #13935 with inaccurate description of 'fullscreen'.
doc/lispref/frames.texi (Size Parameters): More accurate description of the
 difference between 'fullboth' and 'maximized'.
2013-03-23 11:33:00 +02:00
Christopher Schmidt
5784e31964 * symbols.texi (Standard Properties): Document pure. (Bug#13823) 2013-03-17 17:51:36 +01:00
Stefan Monnier
78be8b6465 Merge from emacs-24 2013-03-16 18:08:22 -04:00
Eli Zaretskii
12bc3154f5 Revert inadvertently committed changes in lispref/frames.texi. 2013-03-16 10:22:31 +02:00
Eli Zaretskii
5f795e34b3 Match the effect of FULLSCREEN_BOTH and FULLSCREEN_MAXIMIZED to docs on Windows.
src/w32term.c (w32fullscreen_hook): Swap FULLSCREEN_BOTH and
 FULLSCREEN_MAXIMIZED.

Fixes: debbugs:13935
2013-03-15 12:07:29 +02:00
Glenn Morris
c076590546 Tweaks for www.gnu.org html versions of manuals
* admin/admin.el (manual-html-mono, manual-html-node): Add -DWWW_GNU_ORG.

* doc/emacs/emacs.texi (Top): Add some stuff specific to www.gnu.org.

* doc/lispintro/emacs-lisp-intro.texi: Add some stuff specific to www.gnu.org.

* doc/lispref/elisp.texi: Add some stuff specific to www.gnu.org.
2013-03-12 00:15:15 -07:00
Ted Zlatanov
b388e7ad07 * control.texi (Pattern matching case statement): Fix typo. 2013-03-11 13:05:30 -04:00
Glenn Morris
24958590a0 Add 24.3 release to ChangeLogs 2013-03-10 19:35:23 -07:00
Paul Eggert
681ebc3315 Prefer UTF-8 for documentation.
With GNU Texinfo 5.0, this generates nicer-looking info files,
since they can use curly quotes.  With older Texinfo it doesn't matter.
2013-03-04 00:45:03 -08:00
Glenn Morris
0273a42845 Merge from emacs-24; up to 2012-12-24T06:24:08Z!eggert@cs.ucla.edu 2013-03-02 18:39:57 -08:00
Glenn Morris
9bed73f343 * doc/lispref/objects.texi (Symbol Type): Fix typo. 2013-03-02 18:09:31 -08:00
Glenn Morris
929aeac608 Merge from emacs-24; up to 2012-12-23T02:41:17Z!rgm@gnu.org 2013-02-27 22:30:48 -08:00
Bastien Guerry
5765e9e081 * variables.texi (File Local Variables): Fix reference.
Thanks to Aurélien Aptel and for reporting this problem
and to Xue Fuqiao for suggesting a fix.
2013-02-27 13:12:20 +01:00
Glenn Morris
1abfd3e85f Merge from emacs-24; up to 2012-12-22T19:09:52Z!rgm@gnu.org 2013-02-24 11:45:17 -08:00
Eli Zaretskii
39ef03af99 Minor improvements in the ELisp manual.
doc/lispref/files.texi (Magic File Names): Improve wording and indexing.
2013-02-23 12:55:13 +02:00
Glenn Morris
f0c954fa28 More doc updates for multi-frame images
* doc/emacs/files.texi (File Conveniences): Not just GIFs can be animated.

* doc/lispref/display.texi (Multi-Frame Images): Minor rephrasing.

* etc/NEWS: Related edits.
2013-02-20 22:03:02 -08:00
Glenn Morris
1e56f8ef34 Lispref updates for multi-frame images
* doc/lispref/display.texi (GIF Images, TIFF Images): Delete these nodes.
(ImageMagick Images): For :index, use an xref rather than duplicating.
(Other Image Types): Add GIF, adjust formatting.
(Multi-Frame Images): Rename from Animated Images.  Expand section.

* doc/lispref/elisp.texi (Top): Update menu for these changes.
2013-02-20 00:34:28 -08:00
Glenn Morris
872faefb07 Merge from emacs-24; up to 2012-12-20T16:09:05Z!dmantipov@yandex.ru 2013-02-18 19:29:28 -08:00
Glenn Morris
93c2fa46e2 * doc/lispref/text.texi (Change Hooks): Fix typo. 2013-02-18 17:20:50 -08:00
Glenn Morris
d64d97e537 Merge from emacs-24; up to 2012-12-19T19:51:40Z!monnier@iro.umontreal.ca 2013-02-15 09:31:12 -08:00
Paul Eggert
648e5523fb Merge from emacs-24; up to 2012-12-19T13:01:16Z!michael.albinus@gmx.de 2013-02-14 22:35:54 -08:00
Glenn Morris
df1af142da * lispref/modes.texi (Basic Major Modes): 'z' no longer bound in special-mode. 2013-02-13 20:24:03 -05:00
Glenn Morris
01fcc3a532 Merge from emacs-24; up to 2012-12-17T11:17:34Z!rgm@gnu.org 2013-02-12 20:31:09 -08:00
Glenn Morris
b6c3e4b120 * doc/lispref/objects.texi (Char-Table Type): Add footnote about #^^. 2013-02-12 21:25:02 -05:00
Glenn Morris
b5ca9d5349 * doc/lispref/modes.texi (Minor Mode Conventions): Fix typo. 2013-02-12 21:20:52 -05:00
Paul Eggert
65e7ca35a6 In doc, use standard American English style for e.g., etc., i.e. 2013-02-12 09:36:54 -08:00
Glenn Morris
85adc63f81 keymaps.texi small fix for bug#13684
* doc/lispref/keymaps.texi (Scanning Keymaps):
Remove obsolete sentence about meta characters; this changed in 22.1.
2013-02-11 19:33:18 -05:00
Glenn Morris
662abcc175 * doc/lispref/objects.texi (Char-Table Type): Add cindex. 2013-02-10 17:21:21 -08:00
Glenn Morris
9d6c9dd13c * doc/lispref/keymaps.texi (Key Binding Commands): Trivial rephrasing. 2013-02-10 17:16:30 -08:00
Glenn Morris
490a9458c8 Merge from emacs-24; up to 2012-12-15T12:19:04Z!juri@jurta.org 2013-02-09 17:56:25 -08:00
Eli Zaretskii
8549f9e89b Remove all references to buffer-file-type and related features.
src/xdisp.c (decode_mode_spec): Remove handling of %t.

 lisp/net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
 buffer-file-type.
 lisp/mail/feedmail.el (feedmail-force-binary-write): Doc fix.
 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
 coding-system-for-write instead.
 lisp/jka-compr.el (jka-compr-write-region): Don't bind
 buffer-file-type.
 lisp/emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
 buffer-file-type.
 lisp/files.el (file-name-buffer-file-type-alist): Remove defvar.
 (insert-file-contents-literally): Remove reference to
 file-name-buffer-file-type-alist.
 lisp/dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
 make-obsolete.
 (find-buffer-file-type-match, find-buffer-file-type): Remove.
 (find-buffer-file-type-coding-system): Remove references to
 find-buffer-file-type-match, find-buffer-file-type, and
 buffer-file-type.
 Don't put find-buffer-file-type-coding-system into
 file-coding-system-alist.
 (find-file-binary, find-file-text): Bind coding-system-for-read
 instead of file-name-buffer-file-type-alist.
 lisp/erc/erc-dcc.el (erc-dcc-get-file): Don't reference buffer-file-type.

 doc/emacs/msdog.texi (Text and Binary): Delete the description of
 file-name-buffer-file-type-alist.

 doc/lispref/modes.texi (%-Constructs): Remove the description of %t.
 doc/lispref/nonascii.texi (MS-DOS File Types): Delete node.

Fixes: debbugs:12989
2013-02-09 14:52:01 +02:00
Glenn Morris
dc55466e67 * doc/lispref/keymaps.texi (Creating Keymaps): Update make-keymap result. 2013-02-08 21:36:39 -05:00
Glenn Morris
078891963d Merge from emacs-24; up to 2012-12-14T21:27:39Z!rgm@gnu.org 2013-02-08 09:23:24 -08:00
Glenn Morris
7bd007246e keymaps.texi tweak
* doc/lispref/keymaps.texi (Active Keymaps, Searching Keymaps):
Remove confusing mention of "symbolic prefix".

Fixes: debbugs:13643
2013-02-08 09:13:06 -08:00
Glenn Morris
795e7a5b32 Merge from emacs-24; up to 2012-12-11T09:51:12Z!dmantipov@yandex.ru 2013-01-19 12:38:13 -08:00
Paul Eggert
b3fbb3956c Allow floating-point file offsets.
Problem reported by Vitalie Spinu in
<http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00411.html>.
* doc/lispref/files.texi (Reading from Files, Writing to Files):
Say that file offsets can be numbers, not just integers.
* src/fileio.c (emacs_lseek): Remove.
(file_offset): New function.
(Finsert_file_contents, Fwrite_region): Use it.
2013-01-19 01:59:51 -08:00