Commit graph

3452 commits

Author SHA1 Message Date
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
Juanma Barranquero
58179ccebd Fix typos. 2011-11-16 13:34:47 +01:00
Chong Yidong
ce7ddba001 * autoconf.el (autoconf-mode): Fix comment-start-skip regexp.
Fixes: debbugs:10033
2011-11-16 11:17:29 +08:00
Juanma Barranquero
c701515351 Fix typos. 2011-11-15 18:37:37 +01:00
Paul Eggert
da6062e6ea Spelling fixes. 2011-11-14 23:55:13 -08:00