1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00
Commit Graph

1032 Commits

Author SHA1 Message Date
Glenn Morris
72ca698cb9 * doc/lispref/modes.texi (Basic Major Modes): Mention tabulated-list-mode.
* etc/NEWS: Related markup.
2012-02-09 21:33:01 -05:00
Glenn Morris
14a1f3806c * doc/lispref/loading.texi (Named Features): Update the require example.
The new one reflects the current code, and has a bonus free example
of lets + requires too.
2012-02-07 21:29:16 -08:00
Glenn Morris
60d47423d1 Doc updates for define-minor-mode argument behavior
* doc/lispref/modes.texi (Defining Minor Modes):
Expand on args of defined minor modes.
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
Doc fixes for the macro and the mode it defines.
2012-02-07 00:26:54 -08:00
Glenn Morris
93137f94d8 Minor adjustment to previous imagemagick change. 2012-02-06 23:42:12 -08:00
Chong Yidong
0992bd9c06 Fix and doc-fix for `buffer-local-variables'.
* src/buffer.c (Fbuffer_local_variables)
(buffer_lisp_local_variables): Handle unbound vars correctly;
don't let Qunbound leak into Lisp.

* doc/lispref/variables.texi (Creating Buffer-Local): Minor clarification
to buffer-local-variables doc.

Fixes: debbugs:10715
2012-02-07 14:34:52 +08:00
Glenn Morris
e80e182501 * doc/lispref/display.texi (ImageMagick Images): General update. 2012-02-06 20:20:16 -08:00
Glenn Morris
af008560fe imagemagick-render-type fixes
* src/image.c (imagemagick-render-type): Change it from a lisp object
to an integer.  Move the doc here from the lisp manual.
Treat all values not equal to 0 the same.

* doc/lispref/display.texi (ImageMagick Images):
Move most details of imagemagick-render-type to the variable's doc.

* lisp/cus-start.el (imagemagick-render-type): Add it.
2012-02-06 19:31:29 -08:00
Glenn Morris
b737198d07 Unhyphenate "menu-bar" in text 2012-02-06 00:34:28 -08:00
Glenn Morris
dac86404ae Document make-composed-keymap
* doc/lispref/keymaps.texi (Inheritance and Keymaps):
Mention make-composed-keymap and multiple inheritance.
* etc/NEWS: Related edits.
2012-02-05 19:20:11 -08:00
Glenn Morris
f7c9199f38 * doc/lispref/keymaps.texi (Tool Bar): Mention separators.
* etc/NEWS: Related markup.
2012-02-05 17:27:57 -08:00
Glenn Morris
e7bc51d012 * doc/lispref/modes.texi (Running Hooks): Mention run-hook-wrapped.
* etc/NEWS: Related edit.
2012-02-05 16:58:38 -08:00
Glenn Morris
866c1d2218 Document yet more things that were never added to NEWS
* doc/lispref/control.texi (Handling Errors):
Mention condition-case-no-debug and with-demoted-errors.
* etc/NEWS: Related edits.
2012-02-05 16:48:02 -08:00
Chong Yidong
e1161b06fc Update Customization chapter of Lisp manual.
* doc/lispref/customize.texi (Common Keywords): Minor clarifications.
Document custom-unlispify-remove-prefixes.
(Variable Definitions): Backquotes in defcustom seem to work fine
now.  Various other copyedits.
(Simple Types): Copyedits.  Document color selector.
(Composite Types): Copyedits.
(Splicing into Lists): Clarifications.
2012-02-05 22:27:06 +08:00
Chong Yidong
03988c98df Updates to Macros and Customization chapters of Lisp manual.
* doc/lispref/customize.texi (Common Keywords): Minor clarifications.
Document custom-unlispify-remove-prefixes.
(Variable Definitions): Backquotes in defcustom seem to work fine
now.  Various other copyedits.

* doc/lispref/macros.texi (Expansion): Minor clarification.
(Backquote): Move node to eval.texi.
(Defining Macros): Move an example from Backquote node.
(Argument Evaluation): No need to mention Pascal.
(Indenting Macros): Add xref to Defining Macros.

* doc/lispref/eval.texi (Backquote): Move from macros.texi.

* lisp/custom.el (defcustom): Doc fix.
2012-02-05 14:44:47 +08:00
Glenn Morris
649f602cd6 More doc for debug-on-event.
* emacs/trouble.texi (Checklist): Mention debug-on-event.

* lispref/debugging.texi (Error Debugging): Mention debug-on-event default.
2012-02-04 19:37:19 -08:00
Glenn Morris
8f05da4228 Document revert-buffer-in-progress-p
* doc/lispref/backups.texi (Reverting): Mention revert-buffer-in-progress-p.
* lisp/files.el (revert-buffer): Doc fix (mention revert-buffer-in-progress-p).
* etc/NEWS: Related markup.
2012-02-04 14:04:12 -08:00
Glenn Morris
7aa5aad87e Document debug-on-event
* doc/lispref/debugging.texi (Error Debugging): Mention debug-on-event.
* doc/lispref/commands.texi (Misc Events): Mention sigusr1,2 and debugging.
* etc/NEWS: Related edit.
2012-02-04 13:58:00 -08:00
Glenn Morris
c7291ad983 with-wrapper-hook doc clarifications
* doc/lispref/modes.texi (Running Hooks): Try to clarify with-wrapper-hook.
* lisp/subr.el (with-wrapper-hook): Doc fixes.
2012-02-04 12:59:54 -08:00
Glenn Morris
34c9999804 Try to document filter-buffer-substring changes
* doc/lispref/text.texi (Buffer Contents):
Update filter-buffer-substring description.

* lisp/simple.el (filter-buffer-substring-functions)
(buffer-substring-filters, filter-buffer-substring): Doc fixes.

* etc/NEWS: Related edits.
2012-02-04 11:48:06 -08:00
Chong Yidong
735cc5ca6f Update Functions chapter of Lisp manual; document closures.
* doc/emacs/functions.texi (What Is a Function): Add closures.  Mention
"return value" terminology.  Add xref for command-execute.  Remove
unused "keystroke command" terminology.
(Lambda Expressions): Give a different example than in the
following subsection.  Add xref to Anonymous Functions.
(Function Documentation): Remove gratuitous markup.
(Function Names): Move introductory text to `What Is a Function'.
(Defining Functions): Fix defun argument spec.
(Anonymous Functions): Document lambda macro explicitly.  Mention
effects on lexical binding.
(Function Cells): Downplay direct usage of fset.
(Closures): New node.
(Inline Functions): Remove "open-code" terminology.
(Declaring Functions): Minor tweak; .m is not C code.

* doc/emacs/variables.texi (Variables): Don't refer to "global value".
(Local Variables, Void Variables): Copyedits.
(Lexical Binding): Minor clarification of example.
(File Local Variables): Mention :safe and :risky defcustom args.
(Lexical Binding): Add xref to Closures node.
2012-02-04 22:56:32 +08:00
Glenn Morris
94bc79845c * doc/lispref/minibuf.texi (High-Level Completion): Updates for read-color.
* etc/NEWS: Likewise.
2012-02-03 20:23:09 -05:00
Glenn Morris
eea14f31d1 Document animated image API
* doc/lispref/display.texi (GIF Images): Mention animation.
Remove commented-out old example of animation.
(Animated Images): New subsection.
* doc/lispref/elisp.texi (Top):
* doc/lispref/vol1.texi (Top):
* doc/lispref/vol2.texi (Top): Add Animated Images menu entry.

* lisp/image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.

* lisp/image.el (image-animated-p): Doc fix.  Use image-animated-types.
(image-animate-timeout): Doc fix.

* etc/NEWS: Markup.
2012-02-03 00:44:30 -08:00
Glenn Morris
204e728dda * doc/lispref/display.texi (GIF Images, TIFF Images): Minor rephrasing. 2012-02-03 00:38:46 -08:00
Glenn Morris
4f5a10efb3 Small display.texi fix
* doc/lispref/display.texi (Image Formats):
Remove oddly specific information on versions of image libraries.
2012-02-03 00:17:05 -08:00
Glenn Morris
1b9f60cc53 Tiny doc tweaks for call-process's :file spec.
* doc/lispref/processes.texi (Synchronous Processes):
Mention call-process's :file gets overwritten.

* src/callproc.c (Fcall_process, Fcall_process_region): Doc fix.

* etc/NEWS: Markup.
2012-02-01 23:21:20 -08:00
Glenn Morris
7e2734bc38 Document read-char-choice.
* doc/lispref/commands.texi (Reading One Event):
* doc/lispref/help.texi (Help Functions): Document read-char-choice.
* etc/NEWS: Markup.
2012-02-01 23:06:37 -08:00
Glenn Morris
f58b982241 Document post-self-insert-hook
* doc/lispref/hooks.texi (Standard Hooks):
* doc/lispref/modes.texi (Keymaps and Minor Modes):
* doc/lispref/text.texi (Commands for Insertion):
Document post-self-insert-hook.

*etc/NEWS: Markup.
2012-02-01 20:37:05 -08:00
Glenn Morris
b030b3df20 * doc/lispref/hooks.texi (Standard Hooks): Add prog-mode-hook. 2012-02-01 20:28:15 -08:00
Glenn Morris
12f381b73d Document change-major-mode-after-body-hook
* doc/lispref/hooks.texi (Standard Hooks):
* doc/lispref/modes.texi (Major Mode Conventions, Mode Hooks):
Document change-major-mode-after-body-hook.

* lisp/subr.el (run-mode-hooks): Doc fix.

* etc/NEWS: Markup
2012-02-01 21:57:26 -05:00
Glenn Morris
cf46a8ffcc Reword previous change. 2012-02-01 16:19:30 -05:00
Glenn Morris
7a9a2fc6c8 Document locally disabling globalized minor modes in the lispref
* doc/lispref/modes.texi (Defining Minor Modes):
Mention disabling global minor modes on a per-major-mode basis.

* etc/NEWS: Clarify entry.
2012-02-01 00:32:31 -08:00
Chong Yidong
a037c17168 Minor tweaks to the Lisp manual.
* syntax.texi (Parsing Expressions): Clarify intro.
(Parser State): Remove unnecessary statement (Bug#10661).

* eval.texi (Intro Eval): Add footnote about "sexp" terminology.

Fixes: debbugs:10657
2012-01-31 14:51:33 +08:00
Glenn Morris
56afad3af8 Document define-minor-mode's new :variable keyword in the lispref.
* doc/lispref/modes.texi (Defining Minor Modes):
Document define-minor-mode's new :variable keyword.
* etc/NEWS: Markup.
2012-01-30 21:03:09 -08:00
Paul Eggert
bccc0e401f Spelling fix. 2012-01-30 17:15:56 -08:00
Chong Yidong
837a390a91 * doc/lispref/syntax.texi (Syntax Class Table): Tweak description of newline char syntax.
Fixes: debbugs:9619
2012-01-29 15:35:58 +08:00
Chong Yidong
0f29fa41ac Fix wholenump/natnump description in Lisp manual.
* doc/lispref/numbers.texi (Predicates on Numbers): Fix
wholenump/natnump description.

Fixes: debbugs:10189
2012-01-29 15:25:22 +08:00
Glenn Morris
641cac0992 * doc/lispref/files.texi (Changing Files): Remove part of previous change. 2012-01-28 19:11:45 -08:00
Glenn Morris
a49ca6b95b Document SELinux support.
* doc/lispref/files.texi (Changing Files): Document SELinux support.
* etc/NEWS: Markup.
2012-01-28 18:49:57 -08:00
Glenn Morris
182148eeb5 * doc/lispref/windows.texi (Window Sizes): Fix typo. 2012-01-28 17:50:40 -08:00
Chong Yidong
8c6e192092 * display.texi (Fringe Indicators): Clarify fringe-indicator-alist doc.
Fixes: debbugs:8568
2012-01-28 21:47:42 +08:00
Chong Yidong
9583ec5948 * doc/emacs/frames.texi (Input Focus): Fix doc for select-frame-set-input-focus.
Clarify role of NORECORD arg to select-frame.
2012-01-28 12:26:33 +08:00
Chong Yidong
1025698809 * doc/lispref/text.texi (Transposition): We don't use transpose-region as an internal subroutine.
Fixes: debbugs:3249
2012-01-28 11:56:20 +08:00
Chong Yidong
9962192ea1 * doc/lispref/modes.texi (Example Major Modes): Update Lisp example code
to current sources.  Delete the old non-derived-major-mode
example, which has diverged badly from current sources.

* lisp/text-mode.el (text-mode): Minor tweak to make the mirrored
manual node nicer.
2012-01-28 11:49:22 +08:00
Glenn Morris
2aa43abb72 doc/lispref/makefile.w32-in small fixes
* doc/lispref/makefile.w32-in (texinputdir): Fix (presumed) typo.
(VERSION, manual): Remove, unused.
2012-01-27 13:03:56 -08:00
Chong Yidong
9f40220d8e Minor clarification in Lisp manual about pre/post-command-hook.
* doc/lispref/commands.texi (Command Overview): Minor clarification (Bug#10384).
2012-01-27 16:35:51 +08:00
Chong Yidong
acc28cb93b Document negative repeat counts for search-forward and search-backward.
* doc/lispref/searching.texi (String Search): Document negative repeat count.

* src/search.c (Fsearch_forward, Fsearch_backward): Document negative
repeat counts (Bug#10507).
2012-01-26 23:48:27 +08:00
Glenn Morris
48da739227 Doc fix for lexical-binding being in line one.
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00543.html

* doc/lispref/variables.texi (Using Lexical Binding):
Mention that lexical-binding should be set in the first line.

* src/lread.c (syms_of_lread): Doc fix.

* lisp/emacs-lisp/tabulated-list.el, lisp/progmodes/f90.el:
Move lexical-binding file-local to line one.

* etc/NEWS: lexical-binding should be ine the first line.
2012-01-25 22:30:49 -08:00
Lars Ingebrigtsen
69b0acb956 Further `declare' clarifications
* macros.texi (Defining Macros): Don't claim that `declare' only
affects Edebug and indentation.
2012-01-26 01:02:02 +01:00
Lars Ingebrigtsen
543757a8bd * macros.texi (Defining Macros): Slight `declare' fixup. 2012-01-26 00:55:44 +01:00
Glenn Morris
24189ce0dc * doc/lispref/makefile.w32-in (texinputdir): Copy previous Makefile.in change. 2012-01-25 16:50:12 -05:00