Commit graph

60 commits

Author SHA1 Message Date
Paul Eggert
7e09ef09a4 Update copyright year to 2015
Run admin/update-copyright.
2015-01-01 14:26:41 -08:00
Paul Eggert
ba3189039a Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
Paul Eggert
ab422c4d68 Update copyright notices for 2013. 2013-01-01 09:11:05 +00:00
Stefan Monnier
2ee3d7f0aa Provide generalized variables in core Elisp.
* lisp/emacs-lisp/gv.el: New file.
* lisp/subr.el (push, pop): Extend to generalized variables.
* lisp/loadup.el (macroexp): Unload if preloaded and uncompiled.
* lisp/emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
* lisp/emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
gv-define-simple-setter, and gv-define-expander.
Remove setf-methods defined in gv.  Rename cl-setf -> setf.
(cl-setf, cl-do-pop, cl-get-setf-method): Remove.
(cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
(cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
(cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
gv-letplace.
(cl-defstruct): Don't define setf-method any more.
* lisp/emacs-lisp/cl.el (flet): Don't autoload.
(cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
(define-setf-expander, defsetf, define-modify-macro)
(cl-struct-setf-expander): Move from cl-lib.el.
* lisp/emacs-lisp/syntax.el:
* lisp/emacs-lisp/ewoc.el:
* lisp/emacs-lisp/smie.el:
* lisp/emacs-lisp/cconv.el:
* lisp/emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
(timer--time): Use gv-define-simple-setter.
* lisp/emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
to avoid coding-system problems in subr.el.  Adjust all users.
(macroexp--maxsize, macroexp-small-p): New functions.
* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
* lisp/scroll-bar.el (scroll-bar-mode):
* lisp/simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
(normal-erase-is-backspace-mode): Don't use the `eq' place.
* lisp/winner.el (winner-configuration, winner-make-point-alist)
(winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
* lisp/files.el (locate-file-completion-table): Avoid list*.

Fixes: debbugs:11657
2012-06-22 09:42:38 -04:00
Stefan Monnier
f80efb8695 Reduce use of cl in lisp/emacs-lisp/.
* lisp/emacs-lisp/timer.el, lisp/emacs-lisp/syntax.el, lisp/emacs-lisp/smie.el:
* lisp/emacs-lisp/ewoc.el, lisp/emacs-lisp/cconv.el,lisp/emacs-lisp/derived.el:
* lisp/emacs-lisp/byte-opt.el, lisp/emacs-lisp/autoload.el: Convert to cl-lib.
* lisp/emacs-lisp/easymenu.el, lisp/emacs-lisp/easy-mmode.el:
* lisp/emacs-lisp/bytecomp.el: Use pcase instead of `cl'.
* lisp/emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2012-06-10 09:28:26 -04:00
Stefan Monnier
e95a67dc75 Replace lexical-let by lexical-binding (except Gnus, CEDET, ERT).
* lisp/term/ns-win.el (ns-define-service):
* lisp/progmodes/pascal.el (pascal-goto-defun):
* lisp/progmodes/js.el (js--read-tab):
* lisp/progmodes/etags.el (tags-lazy-completion-table):
* lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
* lisp/emacs-lisp/ewoc.el (ewoc--wrap):
* lisp/emacs-lisp/assoc.el (aput, adelete, amake):
* lisp/doc-view.el (doc-view-convert-current-doc):
* lisp/url/url.el (url-retrieve-synchronously):
* lisp/vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2012-04-26 08:43:28 -04:00
Glenn Morris
44e97401cd Standardize possessive apostrophe usage in manuals, docs, and comments
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00649.html
2012-02-28 00:17:21 -08:00
Glenn Morris
acaf905b11 Add 2012 to FSF copyright years for Emacs files 2012-01-05 01:46:05 -08:00
Bob Rogers
a918ed9b8e Minor ewoc fix for bug#3261.
* lisp/emacs-lisp/ewoc.el (ewoc-goto-next): Give a more explicit error
if there is no node.
2011-03-03 21:16:56 -08:00
Glenn Morris
73b0cd5003 Convert consecutive FSF copyright years to ranges. 2011-01-24 20:08:28 -08:00
Glenn Morris
0d9f702fd0 Nuke arch-tags. 2011-01-15 15:16:57 -08:00
Glenn Morris
5df4f04cd3 Add 2011 to FSF/AIST copyright years. 2011-01-02 15:50:46 -08:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Eric S. Raymond
83370e6bab Note that vc.el now uses this. 2008-05-09 22:31:03 +00:00
Glenn Morris
d6cba7ae45 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 03:21:21 +00:00
Alexandre Julliard
d533750604 (ewoc-collect): Return results in the correct order. 2008-04-09 18:50:34 +00:00
Glenn Morris
8b72699e88 Add 2008 to copyright years. 2008-01-07 01:14:52 +00:00
Glenn Morris
e0085d62fa Switch license to GPLv3 or later. 2007-07-25 04:14:29 +00:00
Thien-Thi Nguyen
f718c2fc7f (ewoc--insert-new-node): Take additional arg DLL.
Use it, passed in explicitly, instead of from the dynamic binding.
(ewoc-create, ewoc-enter-before): Update to use new call sequence.
2007-03-30 16:12:19 +00:00
Glenn Morris
f0fa15c5e5 Add 2007 to copyright years. 2007-01-21 02:48:43 +00:00
Glenn Morris
d59c31376c Update copyright years. 2006-12-07 05:06:17 +00:00
Stefan Monnier
bb7a346faa (ewoc--current-dll): Remove. Basically undo the change of 2006-05-26:
use extra arguments instead of dynamic scoping.
(ewoc-locate): Remove unused var `footer'.
2006-05-29 04:39:46 +00:00
Stefan Monnier
7ece7aba2b (ewoc--insert-new-node): Use ewoc--refresh-node. 2006-05-29 03:47:56 +00:00
Thien-Thi Nguyen
0741626e3f Commentary and whitespace munging; nfc. 2006-05-27 18:13:15 +00:00
Thien-Thi Nguyen
2bbacc0e1b (ewoc): Add member `hf-pp' to this structure.
(ewoc--wrap): New func.
(ewoc-create): Take additional arg NOSEP.  If nil, wrap node and
header/footer pretty-printers.  Save header/footer pretty-printer.
(ewoc-set-hf): Use ewoc's header/footer pretty-printer.
2006-05-27 17:39:38 +00:00
Thien-Thi Nguyen
7f934f3dda (ewoc--node): Don't define constructor
`make-ewoc--node' for this structure.
2006-05-27 11:16:18 +00:00
Thien-Thi Nguyen
63910b2311 (ewoc--node-branch): Merge into unique caller. 2006-05-27 10:10:35 +00:00
Thien-Thi Nguyen
ec491f9001 (ewoc-delete): Compute last node once before looping. 2006-05-27 09:37:13 +00:00
Thien-Thi Nguyen
f860b7216f (ewoc--create): No longer take
HEADER and FOOTER args.  Update unique caller.
2006-05-27 08:56:11 +00:00
Thien-Thi Nguyen
7dd2e64c5d (ewoc--current-dll): New var.
(ewoc--node-next, ewoc--node-prev, ewoc--node-nth): Don't
take DLL arg.  Instead, use `ewoc--current-dll'.  Update all callers.
(ewoc--set-buffer-bind-dll-let*): Bind `ewoc--current-dll', not `dll'.
(ewoc--adjust): Use `ewoc--current-dll'.
(ewoc-next, ewoc-prev, ewoc-nth): Bind `ewoc--current-dll'.
2006-05-26 08:31:36 +00:00
Thien-Thi Nguyen
f569c26e79 (ewoc-delete): New function.
(ewoc-filter): Use `ewoc-delete'.
2006-05-23 07:31:45 +00:00
Thien-Thi Nguyen
bb8d35a25e (ewoc-set-data): New func. 2006-05-22 05:41:48 +00:00
Thien-Thi Nguyen
3fe358978b (ewoc-create): Add autoload cookie. 2006-05-21 22:25:22 +00:00
Thien-Thi Nguyen
60eae434e8 (ewoc--adjust): New func.
(ewoc--insert-new-node): Don't insert trailing newline.
Instead, adjust succesor nodes' start markers.
(ewoc--refresh-node): Delete all text from current node's start
marker to the next one's; adjust successor nodes' start markers.
(ewoc--create): Doc fixes.
(ewoc--refresh): Don't insert newline.
(ewoc--set-hf): Use `ewoc--set-buffer-bind-dll-let*'.
2006-05-18 12:04:40 +00:00
Thien-Thi Nguyen
8433d47026 (ewoc-map, ewoc-invalidate): Compute PP before looping. 2006-05-17 10:38:15 +00:00
Thien-Thi Nguyen
8d1bec8de1 (ewoc-data): Add docstring.
(ewoc-nth): Doc fix.
2006-05-17 06:12:44 +00:00
Thien-Thi Nguyen
7f0ea399d1 (ewoc--node-enter-before, ewoc--create-node): Delete funcs.
(ewoc--insert-new-node): New func.
Update callers of deleted funcs to use it, instead.
2006-05-12 15:14:45 +00:00
Thien-Thi Nguyen
340d99457e (ewoc-refresh): Compute PP once before looping. 2006-05-12 07:29:42 +00:00
Thien-Thi Nguyen
bfbdb5cacf (ewoc--refresh-node): No longer save-excursion.
Update all callers to do it there, instead.
2006-05-11 08:02:11 +00:00
Thien-Thi Nguyen
2c246c9f1a (ewoc--dll-create, ewoc--node-delete)
(ewoc--node-enter-first, ewoc--node-enter-last)
(ewoc--delete-node-internal): Merge funcs into unique callers.
2006-05-10 08:02:21 +00:00
Thien-Thi Nguyen
b1c36c0fc7 (ewoc--set-buffer-bind-dll-let*): Use `with-current-buffer'. 2006-05-08 08:02:25 +00:00
Thien-Thi Nguyen
d91bd17cb6 (ewoc-create, ewoc-set-hf): Use `insert'
directly instead of a lambda expression that calls it.
2006-05-05 23:19:52 +00:00
Thien-Thi Nguyen
ceb4c4d303 Update years in copyright notice; nfc. 2006-02-06 12:31:40 +00:00
Thien-Thi Nguyen
3731a85096 Update years in copyright notice; nfc. 2005-08-06 17:48:15 +00:00
Lute Kamstra
3a35cf56e7 Update FSF's address. 2005-07-04 17:55:18 +00:00
Thien-Thi Nguyen
d4ddf7839c Doc fixes for public funcs:
"Returns" to "return", document useful return values, etc.
2005-06-11 20:33:28 +00:00
Juanma Barranquero
0111ab41ec (ewoc-create, ewoc-map, ewoc-locate, ewoc-invalidate, ewoc-collect):
Doc fixes.
(ewoc--create-node, ewoc--delete-node-internal):
Fix typos in docstring.
2004-06-16 23:50:03 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
a1506d2977 Trailing whitepace deleted. 2003-02-04 13:24:35 +00:00