Glenn Morris
2bed3f0483
Add missing :version tags to new defgroups and defcustoms
...
* window.el (window-sides-slots):
* tool-bar.el (tool-bar-position):
* term/xterm.el (xterm-extra-capabilities):
* ses.el (ses-self-reference-early-detection):
* progmodes/verilog-mode.el (verilog-auto-declare-nettype)
(verilog-auto-wire-type)
(verilog-auto-delete-trailing-whitespace)
(verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
(verilog-auto-tieoff-declaration):
* progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
(sql-oracle-statement-starters, sql-oracle-scan-on):
* progmodes/prolog.el (prolog-align-comments-flag)
(prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
(prolog-left-indent-regexp, prolog-paren-indent-p)
(prolog-paren-indent, prolog-parse-mode, prolog-keywords)
(prolog-types, prolog-mode-specificators)
(prolog-determinism-specificators, prolog-directives)
(prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
(prolog-electric-dot-flag)
(prolog-electric-dot-full-predicate-template)
(prolog-electric-underscore-flag, prolog-electric-tab-flag)
(prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
(prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
(prolog-program-switches, prolog-prompt-regexp)
(prolog-debug-on-string, prolog-debug-off-string)
(prolog-trace-on-string, prolog-trace-off-string)
(prolog-zip-on-string, prolog-zip-off-string)
(prolog-use-standard-consult-compile-method-flag)
(prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
(prolog-imenu-max-lines, prolog-info-predicate-index)
(prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
(prolog-char-quote-workaround):
* progmodes/cc-vars.el (c-defun-tactic):
* net/tramp.el (tramp-encoding-command-interactive)
(tramp-local-end-of-line):
* net/soap-client.el (soap-client):
* net/netrc.el (netrc-file):
* net/gnutls.el (gnutls):
* minibuffer.el (completion-category-overrides)
(completion-cycle-threshold)
(completion-pcm-complete-word-inserts-delimiters):
* man.el (Man-name-local-regexp):
* mail/feedmail.el (feedmail-display-full-frame):
* international/characters.el (glyphless-char-display-control):
* eshell/em-ls.el (eshell-ls-date-format):
* emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
(lisp-lambda-list-keyword-parameter-indentation)
(lisp-lambda-list-keyword-parameter-alignment):
* doc-view.el (doc-view-image-width, doc-view-unoconv-program):
* dired-x.el (dired-omit-verbose):
* cus-theme.el (custom-theme-allow-multiple-selections):
* calc/calc.el (calc-highlight-selections-with-faces)
(calc-lu-field-reference, calc-lu-power-reference)
(calc-note-threshold):
* battery.el (battery-mode-line-limit):
* arc-mode.el (archive-7z-extract, archive-7z-expunge)
(archive-7z-update):
* allout.el (allout-prefixed-keybindings)
(allout-unprefixed-keybindings)
(allout-inhibit-auto-fill-on-headline)
(allout-flattened-numbering-abbreviation):
* allout-widgets.el (allout-widgets-auto-activation)
(allout-widgets-icons-dark-subdir)
(allout-widgets-icons-light-subdir, allout-widgets-icon-types)
(allout-widgets-theme-dark-background)
(allout-widgets-theme-light-background)
(allout-widgets-item-image-properties-emacs)
(allout-widgets-item-image-properties-xemacs)
(allout-widgets-run-unit-tests-on-load)
(allout-widgets-time-decoration-activity)
(allout-widgets-hook-error-post-time)
(allout-widgets-track-decoration):
* gnus/sieve-manage.el (sieve-manage-default-stream):
* gnus/shr.el (shr):
* gnus/nnir.el (nnir-ignored-newsgroups, nnir-summary-line-format)
(nnir-retrieve-headers-override-function)
(nnir-imap-default-search-key, nnir-notmuch-program)
(nnir-notmuch-additional-switches, nnir-notmuch-remove-prefix)
(nnir-method-default-engines):
* gnus/message.el (message-cite-reply-position):
* gnus/gssapi.el (gssapi-program):
* gnus/gravatar.el (gravatar):
* gnus/gnus-sum.el (gnus-refer-thread-use-nnir):
* gnus/gnus-registry.el (gnus-registry-unfollowed-addresses)
(gnus-registry-max-pruned-entries):
* gnus/gnus-picon.el (gnus-picon-inhibit-top-level-domains):
* gnus/gnus-int.el (gnus-after-set-mark-hook)
(gnus-before-update-mark-hook):
* gnus/gnus-async.el (gnus-async-post-fetch-function):
* gnus/auth-source.el (auth-source-cache-expiry):
Add missing :version tags to new defcustoms and defgroups.
2012-02-11 14:13:29 -08:00
Leo Liu
1be3ca5ad7
Rename condition-case-no-debug to condition-case-unless-debug
2012-02-10 23:59:29 +08:00
Chong Yidong
25dec36509
Update Compilation and Advice chapters in Lisp manual.
...
* doc/lispref/advice.texi (Defining Advice): Clarify ad-unadvise.
(Activation of Advice): Specifying the ACTIVATE flag in defadvice
is not abnormal.
(Advising Primitives): Node deleted; ad-define-subr-args has been
removed.
* doc/lispref/compile.texi (Speed of Byte-Code): Use float-time in example.
(Compilation Functions): Note that the log uses Compilation mode.
Don't discuss the contents of byte-code function object here.
(Compilation Functions): De-document internal function byte-code.
(Docs and Compilation): Minor clarifications.
* doc/lispref/objects.texi (Byte-Code Type): Add xref to Byte-Code Function
Objects.
* lisp/emacs-lisp/advice.el: Update commentary to reflect deletion of
ad-define-subr-args
2012-02-10 23:50:11 +08:00
Stefan Monnier
f3934f6fef
* lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
...
Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
(byte-compile-tmp-var): New const.
(byte-compile-defvar): Use it to minimize .elc size.
Just use `defvar' rather than simulate it.
Fixes: debbugs:10761
2012-02-09 16:51:03 -05: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
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
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
Leo Liu
e96e30135e
Fix dead link in smie.el
...
http://debbugs.gnu.org/10711
2012-02-04 16:43:26 +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
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
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
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
Phil Hagelberg
70550acf88
Fix M-x package-install failure if no archive has been fetched yet.
...
* emacs-lisp/package.el (package-install): Run
package-refresh-contents if there is no archive yet.
Fixes: debbugs:97978
2012-01-28 17:49:29 +08:00
Chong Yidong
0ce8e868b9
Fix package.el dependency handling so that `require' calls work.
...
* lisp/emacs-lisp/package.el (package-maybe-load-descriptor): New
function, split from package-maybe-load-descriptor.
(package-maybe-load-descriptor): Use it.
(package-download-transaction): Fully load required packages
inside the loop, so that `require' calls work.
(package-install): No need to call package-initialize now.
Fixes: debbugs:10593
2012-01-28 16:14:24 +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
Paul Eggert
5a5fa83428
Duplicate-word and spelling fixes.
2012-01-10 22:53:12 -08:00
Eli Zaretskii
d59e75c817
Commit of auto-generated files.
2012-01-06 11:32:18 +02:00
Glenn Morris
7d5944b986
Trivial bytecomp.el fix for file-local buffer-read-only.
...
* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a
file local setting of buffer-read-only to the input buffer.
Fixes: debbugs:10419
2012-01-05 23:37:01 -08:00
Glenn Morris
cf3304e1c5
Auto-commit of loaddefs files.
2012-01-05 06:49:08 -05:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Andreas Schwab
94d4c7dc47
* emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
2011-12-31 15:43:38 +01:00
Paul Eggert
22bcf20469
Spelling fixes.
2011-12-30 17:27:15 -08:00
Paul Eggert
9858f6c326
Spelling fixes.
2011-12-29 18:52:49 -08:00
Paul Eggert
99d990817c
Spelling fixes.
2011-12-18 22:21:24 -08:00
Paul Eggert
bbd240ceee
Spelling fixes.
2011-12-14 23:24:10 -08:00
Juanma Barranquero
382c953bbe
Fix typos.
2011-12-09 04:12:38 +01:00
Stefan Monnier
98449af85c
* lisp/emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt.
...
Fixes: debbugs:10244
2011-12-08 08:23:43 -05:00
Glenn Morris
5580f89da8
* lisp/emacs-lisp/package.el (package-archives): Doc fix re riskiness.
2011-12-06 00:31:42 -08:00
Christopher Genovese
e65adfac3b
* lisp/emacs-lisp/assoc.el (aput): Fix return value
...
Fixes: debbugs:10146
2011-12-05 17:22:15 -05:00
Paul Eggert
c80e3b4aed
Spelling fixes.
2011-12-04 00:02:42 -08:00
Chong Yidong
e95def75e4
* emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
2011-11-28 14:26:39 +08:00
Paul Eggert
e9a452d9cd
Spelling fixes (mostly "inactive" vs "deactivate").
2011-11-27 10:17:40 -08:00
Paul Eggert
e47695319f
Spelling fixes.
2011-11-26 20:43:11 -08:00
Juanma Barranquero
e9fce1acd8
Fix typos.
2011-11-25 14:26:30 +01:00
Eli Zaretskii
283430a1df
Fix "make autoloads" on MS-Windows.
...
lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads): On
MS-DOS and MS-Windows, compare with loaddefs.el case-insensitively.
2011-11-23 20:39:38 +02:00
Paul Eggert
ee7683ebb7
Spelling fixes.
2011-11-22 23:03:56 -08:00
Lars Magne Ingebrigtsen
9c34a34446
Tell the caller that the next line needs recomputation, even though it doesn't start a sexp.
...
Fixes: debbugs:10094
2011-11-21 22:58:38 +01:00
Stefan Monnier
f04a3be94b
* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
2011-11-21 09:22:02 -05:00
Juanma Barranquero
fe7a3057a3
Fix typos.
2011-11-20 20:35:27 +01:00
Paul Eggert
40ba43b4b7
Spelling fixes.
2011-11-19 23:30:16 -08:00
Stefan Monnier
bac7ff225f
* lisp/emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
...
(byte-compile-global-not-obsolete-vars): New var.
(byte-compile-check-variable, byte-compile-make-obsolete-variable):
Use it.
(byte-compile-warn-obsolete): Align text with the one in *Help*.
2011-11-19 23:33:36 -05:00
Juanma Barranquero
cd1181dbec
Fix typos.
2011-11-20 04:48:53 +01:00
Paul Eggert
e1dbe924b5
Spelling fixes.
2011-11-19 18:29:42 -08:00
Paul Eggert
5396468298
Spelling fixes.
2011-11-19 01:18:31 -08:00
Stefan Monnier
2ad52c605c
* lisp/emacs-lisp/smie.el: Improve warnings and conflict detection.
...
(smie-warning-count): New var.
(smie-set-prec2tab): Use it.
(smie-bnf->prec2): Improve warnings. Add docstring.
(smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
(smie-bnf--set-class): New function.
(smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
corner case.
2011-11-18 11:30:43 -05:00
Paul Eggert
3ed8598c49
Spelling fixes.
2011-11-18 00:31:02 -08:00
Glenn Morris
a8e1496d75
autoload.el fix for bug#10049
...
* lisp/emacs-lisp/autoload.el (autoload-generate-file-autoloads):
Ignore buffer-local generated-autoload-file if it is the same
as the global value.
2011-11-17 16:34:16 -05:00
Paul Eggert
4c36be58ca
Spelling fixes.
2011-11-17 01:09:20 -08:00