summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* Remove all references to buffer-file-type and related features.Eli Zaretskii2013-02-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/xdisp.c (decode_mode_spec): Remove handling of %t. lisp/net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference buffer-file-type. lisp/mail/feedmail.el (feedmail-force-binary-write): Doc fix. (feedmail-run-the-queue, feedmail-dump-message-to-queue) (feedmail-send-it-immediately): Don't bind buffer-file-type, bind coding-system-for-write instead. lisp/jka-compr.el (jka-compr-write-region): Don't bind buffer-file-type. lisp/emacs-lisp/bytecomp.el (byte-compile-file): Don't bind buffer-file-type. lisp/files.el (file-name-buffer-file-type-alist): Remove defvar. (insert-file-contents-literally): Remove reference to file-name-buffer-file-type-alist. lisp/dos-w32.el (file-name-buffer-file-type-alist): Deprecate and make-obsolete. (find-buffer-file-type-match, find-buffer-file-type): Remove. (find-buffer-file-type-coding-system): Remove references to find-buffer-file-type-match, find-buffer-file-type, and buffer-file-type. Don't put find-buffer-file-type-coding-system into file-coding-system-alist. (find-file-binary, find-file-text): Bind coding-system-for-read instead of file-name-buffer-file-type-alist. lisp/erc/erc-dcc.el (erc-dcc-get-file): Don't reference buffer-file-type. doc/emacs/msdog.texi (Text and Binary): Delete the description of file-name-buffer-file-type-alist. doc/lispref/modes.texi (%-Constructs): Remove the description of %t. doc/lispref/nonascii.texi (MS-DOS File Types): Delete node. Fixes: debbugs:12989
* * lisp/emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):Stefan Monnier2013-02-081-5/+5
| | | | | | Eval body right away, now that we do eager macroexpansion. Fixes: debbugs:13605
* * emacs-lisp/package.el (describe-package-1): Tell what archive is used toNicolas Richard2013-02-061-3/+6
| | | | | | install the package. Patch by Nicolas Richard.
* ert--explain-format-atom fix for non-charactersGlenn Morris2013-02-031-1/+2
| | | | | | | * lisp/emacs-lisp/ert.el (ert--explain-format-atom): Don't try to print non-characters as characters. Fixes: debbugs:13543
* Merge from emacs-24; up to 2012-12-13T09:45:54Z!lekktu@gmail.comGlenn Morris2013-02-011-2/+2
|\
| * Sync CEDET and EIEIO version numbers with upstream.David Engster2013-01-311-2/+2
| |
* | Merge from emacs-24; up to 2012-12-12T22:29:54Z!yamaoka@jpl.orgGlenn Morris2013-01-301-0/+1
|\|
| * * lisp/emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.Stefan Monnier2013-01-261-0/+1
| |
* | Fixes: debbugs:13556Andreas Schwab2013-01-261-4/+8
| | | | | | | | | | | | * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional parameter BAR-NOT-SYMBOL to control syntax of | for font-lock. (lisp-mode): Pass t for it.
* | * lisp-mode.el (emacs-lisp-mode-map): Add native profiler menu entries.Glenn Morris2013-01-191-0/+16
| |
* | Merge from emacs-24; up to 2012-12-11T09:51:12Z!dmantipov@yandex.ruGlenn Morris2013-01-191-1/+1
|\|
| * Doc fixes related to "(declare (indent symbol))" (bug#13450)Glenn Morris2013-01-151-1/+1
| | | | | | | | | | | | | | * doc/lispref/macros.texi (Indenting Macros): Fix order of an indent symbol's arguments. * lisp/emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
* | * lisp/emacs-lisp/trace.el (trace--read-args): Use a closure and an honestStefan Monnier2013-01-161-3/+3
| | | | | | | | call to `eval' rather than a backquoted lambda.
* | * 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
| |