Chong Yidong
983b960204
* cus-edit.el (custom-buffer-create-internal): Improve tooltip message.
2012-02-06 00:30:51 +08:00
Chong Yidong
4aab9006dd
* cus-edit.el (custom-display): Add a customization type tag.
2012-02-06 00:12:05 +08:00
Chong Yidong
5c2a252fad
Fix custom-variable-reset-backup's use of customized-value property.
...
* cus-edit.el (custom-variable-reset-backup): Quote the value
before storing it in the customized-value property.
Fixes: debbugs:6712
2012-02-05 23:50:36 +08:00
Chong Yidong
aa4589a7cf
Fix how the `character' custom type handles space chars.
...
* lisp/wid-edit.el (widget-field-value-get): New optional arg to
suppress trailing whitespace truncation.
(character): Use it.
Fixes: debbugs:2689
2012-02-05 23:33:30 +08:00
Chong Yidong
eeb6cc88a9
Fix presentation of type-mismatched customization widgets.
...
* lisp/cus-edit.el (custom-variable-value-create): For mismatched
types, show the current value.
Fixes: debbugs:7600
2012-02-05 21:41:50 +08:00
Andreas Schwab
1ff980ae49
* progmodes/gud.el (gud-pv): Use pv instead of pv1.
...
* progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2012-02-05 09:06:37 +01: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
f8cdeef0bc
* lisp/font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
2012-02-04 18:27:35 -08:00
Juanma Barranquero
0696d25514
lisp/emacs-lisp/pp.el: Do not reimplement common macros; use `looking-at-p'.
...
(pp-to-string): Use `with-temp-buffer'.
(pp-buffer): Use `ignore-errors', `looking-at-p'.
(pp-last-sexp): Use `looking-at-p'.
2012-02-05 03:09:35 +01: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
f160676e2d
ert-x trivia
...
* lisp/emacs-lisp/ert-x.el (ert-simulate-command):
Check deferred-action-list (which is obsolete) is bound.
* etc/NEWS: Related markup.
2012-02-04 13:18:46 -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
Lars Ljung
6283a7d3f4
Fix bug #10523 with bad value of eshell-windows-shell-file.
...
lisp/eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
anywhere in shell-file-name, not just at the beginning. (Bug#10523)
2012-02-04 11:57:09 +02:00
Leo Liu
e96e30135e
Fix dead link in smie.el
...
http://debbugs.gnu.org/10711
2012-02-04 16:43:26 +08:00
Glenn Morris
987a0a161a
* lisp/isearch.el (isearch-update): Doc fix.
2012-02-03 21:10:22 -05:00
Glenn Morris
82ff1d1360
* lisp/image.el (image-extension-data): Add obsolete alias.
2012-02-03 21:09:34 -05:00
Glenn Morris
ea32ef4651
* lisp/facemenu.el (list-colors-display): Doc fix (minor rephrasing).
2012-02-03 20:00:51 -05:00
Glenn Morris
8ded50f24a
* lisp/ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
2012-02-03 19:59:58 -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
Juanma Barranquero
9f6e692e64
lisp/ChangeLog: Fix typos.
2012-02-02 13:24:30 +01:00
Kenichi Handa
ba1d2c3e92
merge trunk
2012-02-02 18:12:08 +09:00
Kenichi Handa
c5d3843c34
Fix previous change for Bug#6988.
2012-02-02 18:07:29 +09:00
Glenn Morris
953cebf5a8
server.el doc fixes
...
* lisp/server.el (server-auth-dir): Doc fix.
(server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
* etc/NEWS: Markup.
2012-02-01 23:48:39 -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
Juri Linkov
953a8c3b9c
* lisp/image-mode.el (image-toggle-display-image): Remove tautological `major-mode'
...
from the `derived-mode-p' test.
2012-02-02 02:49:06 +02:00
Kenichi Handa
159462d4d1
merge trunk
2012-02-02 09:32:12 +09:00
Kenichi Handa
d2a51fd7a1
Inhibit null-string composition component (Bug#6988).
2012-02-02 09:30:09 +09:00
Chong Yidong
e2cef717da
Fix view-buffer-other-window/frame handling of special modes.
...
* view.el (view-buffer-other-window, view-buffer-other-frame):
Handle special modes like view-buffer.
(view-buffer): Simplify.
Fixes: debbugs:10650
2012-02-01 16:31:29 +08:00
Chong Yidong
9f56266843
Fix dynamic font settings interaction with Custom Themes.
...
* lisp/dynamic-setting.el (font-setting-change-default-font): Use
set-frame-font.
* lisp/frame.el (set-frame-font): Tweak meaning of third argument.
Fixes: debbugs:9982
2012-02-01 16:13:02 +08:00
Glenn Morris
6035be5240
Copy 2012-01-25 compilation-next-error-function change to another function.
...
* lisp/progmodes/compile.el (compilation-internal-error-properties):
Respect compilation-first-column in the "*compilation*" buffer.
2012-01-31 23:32:21 -08:00
Glenn Morris
781acb9f3a
Tweak previous define-minor-mode change
...
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
Relax :variable's test for a named function.
2012-01-31 21:17:17 -05:00
Alan Mackenzie
abbceb009c
Fix an off by one error in c-guess-basic-syntax CASE 5B.1.
2012-01-31 21:59:58 +00:00
Juanma Barranquero
6df6ae42fe
Fix typos in ChangeLogs.
2012-01-31 17:15:03 +01:00
Chong Yidong
fce3fdeb94
Fix menu-set-font interaction with Custom themes.
...
In particular, prevent it from setting non-font-related attributes
like the foreground and background color. This requires a bugfix to
face-spec-reset-face to make "resetting" the default face work.
* lisp/faces.el (face-spec-reset-face): Don't apply unspecified
attribute values to the default face.
* lisp/frame.el (set-frame-font): New arg ALL-FRAMES.
* lisp/menu-bar.el (menu-set-font): Use set-frame-font.
2012-01-31 16:38:58 +08:00
Glenn Morris
60dc267191
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2012-01-30 20:52:29 -08:00
Glenn Morris
6c9b47ae84
Small define-minor-mode fix for variable: keyword.
...
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode):
Allow named functions to be used as the cdr of variable:.
2012-01-30 20:35:57 -08:00
Juanma Barranquero
4789358111
lisp/progmodes/cwarn.el: Small fixes.
...
(cwarn): Remove dead link.
(cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
Remove * from defcustom docstrings.
(turn-on-cwarn-mode): Make obsolete.
(c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
(turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2012-01-31 03:57:00 +01:00
Glenn Morris
e58e988add
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix :variable case.
2012-01-30 17:53:20 -08:00
Glenn Morris
7a3f511d4b
authors.el trivia
...
* lisp/emacs-lisp/authors.el (authors-fixed-entries):
Remove reference to deleted file rnewspost.el.
2012-01-30 00:24:14 -08:00
Juanma Barranquero
cb882333c2
lisp/window.el: Remove unused variables.
...
(window-with-parameter): Remove unused variable `windows'.
(window--side-check): Remove unused variable `code'.
(window--resize-siblings): Remove unused variable `first'.
(adjust-window-trailing-edge): Remove unused variable `failed'.
(window-deletable-p, window--delete): Remove unused variable `buffer'.
Use `let', not `let*'.
(balance-windows-2): Remove unused variable `found'.
(window--state-put-2): Remove unused variable `splits'.
(window-state-put): Remove unused variable `selected'.
(same-window-p): Use `string-match-p'.
(display-buffer-assq-regexp): Remove unused variable `value'.
(display-buffer-pop-up-frame, display-buffer-pop-up-window):
Mark argument ALIST as ignored.
(pop-to-buffer): Remove unused variable `old-window'.
2012-01-29 22:52:14 +01:00
Eli Zaretskii
907201af57
Support Lzip and LZMA compressed files.
...
lisp/jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
and .lzma compressed files.
2012-01-29 19:41:43 +02:00
Chong Yidong
5b95ee8a96
* lisp/frame.el (window-system-default-frame-alist): Doc fix.
2012-01-29 22:22:51 +08:00
Chong Yidong
ea1626708e
Fix an instance of dynamic-setting.el clobbering the default face.
...
* lisp/dynamic-setting.el (font-setting-change-default-font): Don't
change the default face if SET-FONT argument is non-nil.
Fixes: debbugs:9982
2012-01-29 21:55:09 +08:00
Samuel Bronson
d6e6f4b1e9
* lisp/custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
2012-01-29 18:01:20 +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
Syver Enstad
6b25e4e27d
Fix pdb path handling.
...
* progmodes/gud.el (pdb): Give pdb full paths, to allow setting
breakpoints in files outside current directory.
* lisp/progmodes/python.el: Require ansi-color at top-level.
Fixes: debbugs:6098
2012-01-29 15:06:54 +08:00
Chong Yidong
db17443466
Make Emacs Lisp mode use emacs-lisp-mode-abbrev-table.
...
* lisp/emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table): Define
and use in Emacs Lisp mode.
(lisp-mode-abbrev-table): Add doc.
(lisp-mode-variables): Don't set local-abbrev-table.
(lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
Fixes: debbugs:9360
2012-01-29 12:45:51 +08:00
Roland Winkler
e70ee68111
lisp/textmodes/bibtex.el: minor doc fix
2012-01-28 12:25:03 -06:00
Roland Winkler
ace88aa20f
lisp/textmodes/bibtex.el: allow bibtex-dialect as file-local variable (Bug#10254)
2012-01-28 12:06:10 -06:00