summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup toStefan Monnier2013-01-152-13/+11
| | | | | | | | the use of nadvice.el. * lisp/emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak' to return an explicit nil. (advice--remove-function): Change accordingly. * test/automated/advice-tests.el: Split up. Add advice-test-preactivate.
* * lisp/jit-lock.el (jit-lock-debug-mode): New minor mode.Stefan Monnier2013-01-121-2/+2
| | | | | | | | | (jit-lock--debug-fontifying): New var. (jit-lock--debug-fontify): New function. * lisp/subr.el (condition-case-unless-debug): Don't prevent catching the error, just let the debbugger run. * lisp/emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging timer code and don't drop errors silently.
* Disambiguate function and variable references in docstrings.Aaron S. Hawley2013-01-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/comint.el (comint-history-isearch-message): Fix ambiguous doc string cross-reference(s). * lisp/ffap.el (ffap-string-at-point-region, ffap-next) (ffap-string-at-point, ffap-string-around) (ffap-copy-string-as-kill, ffap-highlight-overlay) (ffap-literally): Fix ambiguous doc string cross-reference(s). * lisp/font-lock.el (font-lock-keywords-alist) (font-lock-removed-keywords-alist): Fix ambiguous doc string cross-reference(s). * lisp/help-mode.el (help-xref-symbol-regexp): Add "call" as a hint for a cross-reference to a function. * lisp/info.el (Info-find-emacs-command-nodes): Fix ambiguous doc string cross-reference(s). * lisp/isearch.el (isearch-message-function, isearch-fail-pos): Fix ambiguous doc string cross-reference(s). * lisp/misearch.el (multi-isearch-next-buffer-function): Fix ambiguous doc string cross-reference(s). * lisp/newcomment.el (comment-box): Fix ambiguous doc string cross-reference(s). * lisp/printing.el (pr-txt-printer-alist, pr-ps-printer-alist) (pr-setting-database): Fix ambiguous doc string cross-reference(s). * lisp/ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces) (ps-n-up-filling-database): Fix ambiguous doc string cross-reference(s). * lisp/server.el (server-buffer, server-log): Fix ambiguous doc string cross-reference(s). * lisp/simple.el (newline, delete-backward-char, delete-forward-char) (minibuffer-history-isearch-message, kill-line, track-eol) (temporary-goal-column): Fix ambiguous doc string cross-reference(s). * lisp/whitespace.el (whitespace-point) (whitespace-font-lock-refontify, whitespace-bob-marker) (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s). * lisp/calc/calc.el (calc-highlight-selections-with-faces) (calc-dispatch): Fix ambiguous doc string cross-reference(s). * lisp/emacs-lisp/edebug.el (edebug-read, edebug-eval-defun): Fix ambiguous doc string cross-reference(s). * lisp/gnus/gnus-start.el (gnus-check-new-newsgroups): Fix ambiguous doc string cross-reference(s). * lisp/gnus/gnus-sum.el (gnus-summary-newsgroup-prefix): Fix ambiguous doc string cross-reference(s). * lisp/international/mule.el (add-to-coding-system-list): Fix ambiguous doc string cross-reference(s). * lisp/progmodes/cc-fonts.el (c-font-lock-keywords-3) (c++-font-lock-keywords-3, objc-font-lock-keywords-3) (java-font-lock-keywords-3, idl-font-lock-keywords-3) (pike-font-lock-keywords-3): Fix ambiguous doc string cross-reference(s). * lisp/progmodes/compile.el (compile): Fix ambiguous doc string cross-reference(s). * lisp/progmodes/etags.el (tags-table-files) (tags-table-files-function, tags-included-tables-function): Fix ambiguous doc string cross-reference(s). * lisp/progmodes/gdb-mi.el (gdb, gdb-setup-windows) (gdb-restore-windows): Fix ambiguous doc string cross-reference(s). * lisp/textmodes/flyspell.el (flyspell-mark-duplications-flag) (flyspell-default-deplacement-commands): Fix ambiguous doc string cross-reference(s). * lisp/textmodes/ispell.el (ispell-accept-output): Fix ambiguous doc string cross-reference(s). * lisp/textmodes/sgml-mode.el (html-tag-help): Fix ambiguous doc string cross-reference(s). * lisp/vc/compare-w.el (compare-ignore-whitespace) (compare-ignore-case, compare-windows-dehighlight): Fix ambiguous doc string cross-reference(s). * lisp/vc/diff.el (diff): Fix ambiguous doc string cross-reference(s). * src/insdel.c (Fcombine_after_change_execute, syms_of_insdel): Fix ambiguous doc string cross-reference(s). * src/keyboard.c (Fcommand_execute, syms_of_keyboard): Fix ambiguous doc string cross-reference(s). * src/window.c (Fwindow_point, syms_of_window): Fix ambiguous doc string cross-reference(s). Fixes: debbugs:12686
* *** empty log message ***Stefan Monnier2013-01-111-10/+4
|
* Use point-max-marker and point-min-marker here and there.Dmitry Antipov2013-01-111-1/+1
| | | | | | | | | * lisp/emacs-lisp/ert.el (ert-run-test): Use point-max-marker. * lisp/erc/erc-dcc.el (erc-dcc-chat-setup): Likewise. * lisp/gnus/gnus-async.el (gnus-async-article-callback): Likewise. * lisp/erc/erc-dcc.el (erc-dcc-send-file): Use point-min-marker. * lisp/gnus/gnus-art.el (gnus-mime-display-security): Use point-min-marker and point-max-marker.
* Merge from emacs-24Stefan Monnier2013-01-091-1/+15
|\
| * authors.el tiny updatesGlenn Morris2013-01-091-1/+15
| | | | | | | | | | | | * lisp/emacs-lisp/authors.el (authors-ignored-files) (authors-valid-file-names, authors-renamed-files-alist): Add some more entries.
* | * lisp/emacs-lisp/crm.el: Allow any regexp for separators.Roland Winkler2013-01-091-30/+29
| | | | | | | | | | | | | | (crm-default-separator): All spaces around the default comma separator. (crm--completion-command): New macro. (crm-completion-help, crm-complete, crm-complete-word): Use it. (crm-complete-and-exit): Handle non-single-char separators.
* | Merge from emacs-24; up to 2012-12-08T12:11:29Z!eliz@gnu.orgGlenn Morris2013-01-091-2/+6
|\|
| * * emacs-lisp/trace.el (trace-function, trace-function-background): Doc fix.Glenn Morris2013-01-081-2/+6
| |
* | Remove some obsolete trace.el commentaryGlenn Morris2013-01-081-16/+0
| |
* | * lisp/emacs-lisp/pcase.el (pcase--split-equal): Also take advantage ifStefan Monnier2013-01-081-14/+15
| | | | | | | | the predicate returns nil.
* | * lisp/emacs-lisp/nadvice.el (advice--tweak): New function.Stefan Monnier2013-01-082-25/+22
| | | | | | | | | | (advice--remove-function, advice--subst-main): Use it. * lisp/emacs-lisp/advice.el: Update commentary.
* | * lisp/emacs-lisp/advice.el (ad-activate-advised-definition): Refresh theStefan Monnier2013-01-071-4/+9
| | | | | | | | advice list when the interactive-spec of ad-Advice-* changes.
* | Merge from emacs-24; up to 2012-12-06T07:33:20Z!rgm@gnu.orgGlenn Morris2013-01-021-1/+7
|\|
| * defun fix for cl declarations + interactive formsGlenn Morris2013-01-021-1/+7
| | | | | | | | | | | | | | * lisp/emacs-lisp/byte-run.el (defun): Place cl declarations after any interactive spec. Fixes: debbugs:13265
* | Update copyright dates to 2013.Paul Eggert2013-01-021-1/+1
| |
* | Merge from emacs-24; up to 2012-12-06T01:39:03Z!monnier@iro.umontreal.caPaul Eggert2013-01-0274-109/+126
|\|
| * Auto-commit of loaddefs files.Glenn Morris2013-01-011-3/+3
| |
| * Update copyright notices for 2013.Paul Eggert2013-01-0173-78/+88
| |
| * * emacs-lisp/byte-run.el (defmacro): Use same argument parsing asAndreas Schwab2012-12-311-28/+35
| | | | | | | | | | defun. Don't check for DECL if DOCSTRING isn't a string. (defun): Likewise.
| * Fixes: debbugs:13316Andreas Schwab2012-12-311-5/+5
| | | | | | | | | | * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if neither DOCSTRING nor DECL was given.
* | Merge from emacs-24; up to 2012-12-05T00:13:56Z!yamaoka@jpl.orgGlenn Morris2012-12-301-3/+11
|\|
| * * emacs-lisp/package.el (package-untar-buffer): Improve integrity check for ↵Chong Yidong2012-12-291-7/+11
| | | | | | | | tarball contents.
| * * emacs-lisp/package.el (package-untar-buffer): Handle problematic tarfile ↵Matt Fidler2012-12-291-1/+5
| | | | | | | | | | | | content listings. Fixes: debbugs:13136
* | * lisp/emacs-lisp/lisp-mnt.el (lm-section-end): Always end before theJonas Bernoulli2012-12-191-18/+30
| | | | | | | | | | | | | | | | | | | | | | | | following non-comment text. (lm-header-multiline): Continuation lines need to be indented more than the first line. (lm-homepage): New function. (lm-with-file): Don't be confused if narrowing is in effect. * doc/lispref/tips.texi (Library Headers): New header keyword `Homepage'. Make continuation lines syntax more precise. Fixes: debbugs:13207
* | macroexp--warn-and-return message tweak (bug#13132)Glenn Morris2012-12-141-1/+4
| | | | | | | | | | * lisp/emacs-lisp/macroexp.el (macroexp--warn-and-return): Try to include filename in non-bytecomp warning.
* | lisp/emacs-lisp/edebug.el: Fix previous change.Juanma Barranquero2012-12-131-6/+3
| | | | | | | | | | | | (edebug-unload-function): Make sure that unload-feature finishes even when aborting an ongoing edebug session. Also, do not worry about edebug-mode, unload-feature takes care of it.
* | lisp/emacs-lisp/edebug.el: Fix bug#13163.Juanma Barranquero2012-12-131-4/+23
| | | | | | | | | | | | (edebug--require-cl-read): New function. (edebug-setup-hook, cl-read-load-hooks): Use it. (edebug-unload-function): New function.
* | * lisp/emacs-lisp/cl.el (letf): Make it an alias of cl-letf.Stefan Monnier2012-12-121-23/+1
| | | | | | | | (cl--symbol-function): Remove (now that funbound is like nil).
* | * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing.Jonas Bernoulli2012-12-111-17/+25
| | | | | | | | | | | | | | | | | | | | | | (eieio-override-prin1): Don't quote kewords and booleans. (object-write) <eieio-default-superclass>: Don't put closing parens on new line, avoid needless empty lines, align values that are objects with the slot keyword (instead of beginning on the same line). (eieio-list-prin1): Align value with slot keyword; increase eieio-print-depth before printing members of the list. Fixes: debbugs:13115
* | Merge from emacs-24; up to 2012-11-26T19:56:14Z!monnier@iro.umontreal.caGlenn Morris2012-12-092-8/+9
|\|
| * * lisp/emacs-lisp/debug.el (debug): Fix hard-coded frame counts.Michael Heerdegen2012-12-061-3/+3
| | | | | | | | | | | | Virtually backported from trunk. Fixes: debbugs:10025
| * * lisp/emacs-lisp/cl.el, lisp/emacs-lisp/cl-lib.el: Move cl-unload-function andStefan Monnier2012-12-062-8/+9
| | | | | | | | cl-load-hook where they belong.
* | * lisp/emacs-lisp/cl-lib.el (cl-declaim): Paren typo.Stefan Monnier2012-12-091-1/+1
| |
* | Make eval-defun on a pre-defined defcustom call any :set functionGlenn Morris2012-12-081-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix. Respect a defcustom's :set function, if appropriate. (eval-defun): Doc fix. * doc/lispref/customize.texi (Variable Definitions): Mention eval-defun on a defcustom calls the :set function when appropriate. * etc/NEWS: Mention this. Fixes: debbugs:109
* | * lisp/emacs-lisp/cl-macs.el (cl-tagbody): New macro.Stefan Monnier2012-12-062-4/+63
| |
* | Further cleanup of the "cl-" namespace. Fit CL in 80 columns.Stefan Monnier2012-12-065-134/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety) (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause) (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack) (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix. (cl-progv): Don't rely on dynamic scoping to find the body. * lisp/emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety) (cl--proclaims-deferred): Rename from the "cl-" prefix. (cl-declaim): Use backquotes. * lisp/emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p): Use "cl--" prefix for the object's tag.
* | Fix last change.Chong Yidong2012-12-011-22/+23
| | | | | | | | | | | | | | | | * emacs-lisp/lisp-mode.el (lisp-current-defun-name): * progmodes/m4-mode.el (m4-current-defun-name): * progmodes/perl-mode.el (perl-current-defun-name): * textmodes/tex-mode.el (tex-current-defun-name): * textmodes/texinfo.el (texinfo-current-defun-name): Use save-excursion.
* | Modularize add-log-current-defun.Chong Yidong2012-12-011-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Suggested by Jari Aalto. * lisp/emacs-lisp/lisp-mode.el (lisp-current-defun-name): New. (lisp-mode-variables): Use it. * lisp/progmodes/cc-mode.el (c-common-init): * lisp/progmodes/cperl-mode.el (cperl-mode): Set a value for add-log-current-defun-function. * lisp/progmodes/m4-mode.el (m4-current-defun-name): New function. (m4-mode): Use it. * lisp/progmodes/perl-mode.el (perl-current-defun-name): New. (perl-mode): Use it. * lisp/progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Use lisp-current-defun-name. * lisp/textmodes/tex-mode.el (tex-current-defun-name): New. (tex-common-initialization): Use it. * lisp/textmodes/texinfo.el (texinfo-current-defun-name): New. (texinfo-mode): Use it. * lisp/vc/add-log.el (add-log-current-defun-function): Doc fix. (add-log-current-defun): Move mode-specific code to other files. (add-log-lisp-like-modes, add-log-c-like-modes) (add-log-tex-like-modes): Variables deleted. Fixes: debbugs:2224
* | Convert several major modes to setq-local.Chong Yidong2012-12-011-32/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode): * progmodes/autoconf.el (autoconf-mode): * progmodes/js.el (js-mode): * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode) (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse): * progmodes/perl-mode.el (perl-mode): * progmodes/sh-script.el (sh-mode, sh-set-shell): * textmodes/css-mode.el (css-mode): * textmodes/sgml-mode.el (html-mode, sgml-mode) (sgml-tags-invisible, sgml-guess-indent): * textmodes/tex-mode.el (tex-common-initialization) (latex-complete-bibtex-keys, tex-shell, tex-main-file) (doctex-mode, plain-tex-mode, latex-mode): * textmodes/texinfo.el (texinfo-mode): Use setq-local.
* | derived-mode-make-docstring tweak for bug#11277Glenn Morris2012-11-271-9/+25
| | | | | | | | | | * lisp/emacs-lisp/derived.el (derived-mode-make-docstring): Don't mention "abbrev" or "syntax" if nil.
* | Auto-commit of loaddefs files.Glenn Morris2012-11-271-1/+1
| |
* | Merge from emacs-24; up to 2012-11-20T20:06:17Z!monnier@iro.umontreal.caGlenn Morris2012-11-261-1/+6
|\|
| * Auto-commit of loaddefs files.Glenn Morris2012-11-251-1/+1
| |
| * * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' inStefan Monnier2012-11-241-1/+6
| | | | | | | | | | | | the constructs to keep outside of the `cl-block'. Fixes: debbugs:12977
* | * lisp/emacs-lisp/advice.el (ad-should-compile): Don't compile advice if theStefan Monnier2012-11-261-28/+27
| | | | | | | | | | | | | | | | base function is not yet defined. (ad-activate-advised-definition): Use ad-compile-function. (ad-activate): Use cond. Fixes: debbugs:12965
* | Revamp face-spec-set to be more analogous to setq for faces.Chong Yidong2012-11-251-15/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/faces.el (face-spec-set): Change the third arg to specify whether this function is being called via defface, customize, or a third party. Set the appropriate symbol properties. Clear the override spec if setting via Custom. Initialize face if necessary. (face-spec-recalc): Allow theme faces to completely replace the defface spec, in the same way as custom faces (Bug#8454). * lisp/cus-edit.el (custom-face-set, custom-face-mark-to-save) (custom-face-reset-saved, custom-face-mark-to-reset-standard): Simplify by using the new arg to face-spec-set. * lisp/cus-face.el (custom-declare-face): Move face initialization to face-spec-set. (custom-theme-set-faces): Don't initialize the face name here, as that is now done in face-spec-set. * lisp/emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface, reset face-override-spec too, and use custom-declare-face. Fixes: debbugs:4988
* | Merge from emacs-24; up to 2012-11-19T11:36:02Z!yamaoka@jpl.orgGlenn Morris2012-11-231-0/+3
|\|
| * * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Setup default value forStefan Monnier2012-11-231-0/+3
| | | | | | | | | | | | lexical-binding. Fixes: debbugs:12938