summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* Merge from origin/emacs-25John Wiegley2016-01-111-2/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 43662a2 ; Clarify that xref is still experimental 0a6e6ca ; * admin/release-process: Remove some obsolete records. c2e9e3d * lisp/progmodes/fortran.el (fortran-make-syntax-propertize-function): 8637f3d (semantic-symref-derive-find-filepatterns): Return a list 0a7ad07 ; Re-arrange xref-related entries in NEWS. fe903ef Fix xref-find-references on MS-Windows 55a28d8 ; Fixed visual bell artifact problem on NextStep. d064034 Document new features of tildify-mode 964bea7 Document new features of Whitespace mode cd68f47 Improve documentation of new Hide-IfDef features 723b8bf Fix regression in font-locking cl-assert and cl-check-type
| * Fix regression in font-locking cl-assert and cl-check-typeLeo Liu2016-01-021-2/+3
| | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Fix el-errs-re.
| * ; Auto-commit of loaddefs files.Glenn Morris2016-01-012-3/+3
| |
* | Merge from origin/emacs-25John Wiegley2016-01-1183-83/+83
|\| | | | | | | | | | | ef33bc7 Spelling and grammar fixes 9c3dbab Fix copyright years by hand 0e96320 Update copyright year to 2016
| * Fix copyright years by handPaul Eggert2016-01-011-1/+1
| | | | | | | | | | These are dates that admin/update-copyright did not update, or updated incorrectly.
| * Update copyright year to 2016Paul Eggert2016-01-0182-82/+82
| | | | | | | | Run admin/update-copyright.
* | Merge from origin/emacs-25John Wiegley2016-01-111-23/+24
|\| | | | | | | | | | | | | | | | | | | | | 9ee6ecb lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler. 526d80c Port chart.el methods to cl-generic. 410bb69 Add nt/INSTALL.W64 build instructions 8f5b524 Add new input method 'programmer-dvorak' 6d11f6e Allow to invoke original M-TAB binding in 'flyspell-prog-mode' bb83bb1 Fix EWW rendering of long RTL lines b1a8509 fix bug#21054 ce5ad12 Clean up cairo printing code
| * lisp/emacs-lisp/chart.el (chart-new-buffer): Move to silence byte compiler.Mark Oteiza2015-12-311-8/+8
| |
| * Port chart.el methods to cl-generic.Mark Oteiza2015-12-311-15/+16
| | | | | | | | | | | | | | | | | | | | cl-call-next-method cannot be used inside EIEIO's defmethod. * lisp/emacs-lisp/chart.el: Require cl-generic at compile time. * lisp/emacs-lisp/chart.el (initialize-instance, chart-draw): (chart-draw-title, chart-size-in-dir, chart-draw-axis): (chart-axis-draw, chart-translate-xpos, chart-translate-ypos): (chart-translate-namezone, chart-draw-data, chart-add-sequence): (chart-trim, chart-sort): Use cl-defmethod instead of defmethod.
* | Merge from origin/emacs-25John Wiegley2016-01-111-0/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6ee327d Add handle_user_signal_hook 47580e0 Avoid writing to purespace 0588be7 Remove unused variable 89e7483 * configure.ac: Find libxml2 headers in Xcode SDK dir on Darwin. 3b95e9c Use posix_openpt instead of openpty on Darwin 86312ff Document support for ':documentation' in Lisp mode c930e75b Document new features of TeX mode 7c83d84 Clarify docs of hscroll in RTL text 4c8f8db Fix rendering of HTML pages that use character composition a8d37ca Avoid some compiler warnings in w32.c ce106f3de Undo ill-advised change be0bba4 Unbreak completion in python-mode buffers
| * Document support for ':documentation' in Lisp modeShakthi Kannan2015-12-301-0/+9
| | | | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-string-in-doc-position-p) (lisp-string-after-doc-keyword-p) (lisp-font-lock-syntactic-face-function): Add doc strings.
* | ; * lisp/emacs-lisp/autoload.el (autoload-timestamps): Doc tweak.Glenn Morris2016-01-061-1/+3
| |
* | ; * lisp/emacs-lisp/autoload.el update-directory-autoloads): Fix typo in ↵Glenn Morris2016-01-061-1/+1
| | | | | | | | previous.
* | Allow creation of loaddefs files without timestamps.Glenn Morris2016-01-061-11/+51
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/autoload.el (autoload-timestamps): New variable. (autoload-generate-file-autoloads, update-directory-autoloads): If autoload-timestamps is nil, write "t" instead of file timestamp. (autoload-find-destination, update-directory-autoloads): If timestamp is "t", use the modtime of the output file instead. ; * etc/NEWS: Mention this.
* | Merge emacs-25 into master (using imerge)John Wiegley2015-12-2920-363/+433
|\|
| * Add ert-deftest to lisp-mode.elLeo Liu2015-12-271-1/+2
| | | | | | | | | | * lisp-mode.el (lisp-imenu-generic-expression, lisp-el-font-lock-keywords-1): Add ert-deftest.
| * add some cl-* aliases to lisp-mode imenuTom Tromey2015-12-221-1/+2
| | | | | | | | | | * (lisp-imenu-generic-expression): Add cl-define-compiler-macro, cl-defgeneric, and cl-defmethod.
| * * lisp/emacs-lisp/package.el (package-unpack): Security checkArtur Malabarba2015-12-121-1/+4
| | | | | | | | Check that we received the package we were offered.
| * * lisp/emacs-lisp/package.el (package--compile): Don't activateArtur Malabarba2015-12-121-2/+3
| | | | | | | | | | `package-unpack' takes care of all activations now (other than `package-initialize). `package--compile' now only compiles.
| * Document new features of package.elEli Zaretskii2015-12-121-2/+2
| | | | | | | | | | | | | | | | | | * doc/emacs/package.texi (Package Menu): Document the 'external' status and the new menu commands. (Package Installation): Document archive priorities. * lisp/emacs-lisp/package.el (package-archive-priorities): Doc fix. (package-menu-hide-low-priority): Doc fix.
| * ; Restore selector `member' accidentally drooped in ert rewrite.Anders Lindgren2015-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | ; `test/automated/ert.el' and `test/automated/ert-x.el' now run ; without errors. * lisp/emacs-lisp/ert.el (ert--insert-human-readable-selector): Add the `member' selector. This was accidentally dropped when code was converted from `cl-typecase' (where `member' has a special meaning) and `cl-ecase' (where it doesn't) to `pcase'.
| * * lisp/emacs-lisp/package.el (package--with-response-buffer):Artur Malabarba2015-12-081-3/+4
| | | | | | | | Search for the blank-line in the right buffer.
| * Spelling fixesPaul Eggert2015-12-071-1/+1
| | | | | | | | | | | | | | | | | | | | * doc/misc/calc.texi (Predefined Units): Use the bland modern scientific style for spelling the units “ampere” and “angstrom” rather than the older style “Ampere” and “Ångstrom”. The latter spelling was wrong anyway (it should have been “Ångström”). * lisp/emacs-lisp/ert.el (ert--explain-equal-rec): Fix misspelling of ‘atom’ in code.
| * * lisp/emacs-lisp/package.el: Don't install bad signatures (bug#22089)Artur Malabarba2015-12-051-56/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | (package--with-response-buffer): NOERROR and ERROR-FORM only handle connection errors. (bad-signature): New error type. (package--check-signature-content): Use it. (package--check-signature): Properly distinguish connection errors from bad-signature errors. Do the check for `package-check-signature' `allow-unsigned' here instead of forcing the callbacks to do it. Add a new argument, UNWIND. (package--download-one-archive, package-install-from-archive): Update usage of `package--check-signature'.
| * * lisp/emacs-lisp/ert.el: Prefer pcase over cl-typecaseStefan Monnier2015-12-041-170/+167
| | | | | | | | | | | | | | * lisp/emacs-lisp/ert.el (ert--should-error-handle-error) (ert--explain-format-atom, ert--explain-equal-rec) (ert--print-backtrace, ert-test-result-type-p, ert-select-tests) (ert--insert-human-readable-selector): Prefer pcase over cl-typecase.
| * * lisp/emacs-lisp/cl-macs.el (character): Can't be negativeStefan Monnier2015-12-041-1/+1
| | | | | | | | Fixes (bug#21701)
| * ; Auto-commit of loaddefs files.Glenn Morris2015-12-041-1/+1
| |
| * * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix BOB "token"Stefan Monnier2015-12-031-3/+4
| |
| * Fix some file headers for the purpose of `package--builtins'Artur Malabarba2015-12-032-0/+2
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-preloaded.el * lisp/emacs-lisp/eieio-compat.el * lisp/net/sasl-scram-rfc.el: Add a "Package:" header * lisp/ielm.el: Fix summary line.
| * * lisp/emacs-lisp/package.el (package-unpack): Load before compilingArtur Malabarba2015-12-031-3/+8
| | | | | | | | | | | | | | | | | | Reload any previously loaded package files before compiling the package (also reload the same files after compiling). This ensures that we have the most recent definitions during compilation, and avoids generating bad elc files when a macro changes and it is used in a different file from the one it's defined in.
| * * lisp/emacs-lisp/package.el: Refactor package activation codeArtur Malabarba2015-12-031-29/+34
| | | | | | | | | | | | | | | | | | (package-activate): Move code that activates dependencies into package-activate-1. (package--load-files-for-activation): New function. (package-activate-1): Add code for (optionally) activating dependencies, and move file-loading code into `package--load-files-for-activation'.
| * Fix bug#22069 in cl-generic.elStephen Leake2015-12-021-4/+4
| | | | | | | | | | * lisp/emacs-lisp/cl-generic.el (cl-no-method): Remove %S; this string is not run thru `format'.
| * * lisp/emacs-lisp/package.el: Update header commentsArtur Malabarba2015-12-011-23/+5
| |
| * Spelling and grammar fixesPaul Eggert2015-11-292-2/+2
| |
| * Byte compiler: Catch missing argument to `funcall'. Fixes bug#22051.Alan Mackenzie2015-11-291-2/+7
| | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-funcall): When there's no argument to `funcall', (i) Output an error message; (ii) Generate code to signal a `wrong-number-of-arguments' error.
| * Add ':version' tag to 'checkdoc-package-keywords-flag'Eli Zaretskii2015-11-271-0/+1
| | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag): Add a ':version' tag.
| * Byte Compiler: generate code to adjust stack count after call to `signal'.Alan Mackenzie2015-11-261-1/+2
| | | | | | | | | | | | | | Corrects change from earlier today. * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): supply the current value of `byte-compile--for-effect' as argument to `byte-compile-form'.
| * Byte compiler: on setq with an odd number of arguments, generate a `signal'Alan Mackenzie2015-11-262-35/+40
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/cconv.el (cconv-convert): Don't transform `setq' form when it has an odd number of arguments, to allow bytecomp to handle the error. * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): In a `setq' form with an odd number of arguments, generate a `signal' instead of the normal code.
| * Squashed commit of the following:Alan Mackenzie2015-11-241-7/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit e1ecf76585bef2eb87995f7a7f92cc12003a6f70 Author: Alan Mackenzie <acm@muc.de> Date: Tue Nov 24 16:50:09 2015 +0000 Byte compile: minor amendments. * lisp/emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment): add a comment to explain the binding of variables around a subsidiary compilation. (byte-compile-new-defuns): Amend the doc string. commit c537bfed1dda1593d218956ff00c6105a3ff0316 Author: Alan Mackenzie <acm@muc.de> Date: Sat Nov 21 18:43:57 2015 +0000 Byte compiler: fix spurious warnings "might not be defined at runtime". Also initialize byte-compile-noruntime-functions between runs. * lisp/emacs-lisp/bytecomp.el (byte-compile-new-defuns): New variable. (byte-compile-initial-macro-environment): For eval-when-compile: bind byte-compile-unresolved-functions and byte-compile-new-defuns around byte-compile-top-level, to prevent spurious entries being made. (byte-compile-warn-about-unresolved-functions): Check whether function is in byte-compile-new-defuns before emitting a warning about it. (byte-compile-from-buffer): Initialize new variable and byte-compile-noruntime-functions to nil. (byte-compile-file-form-require): record all new functions defined by a `require' in byte-compile-new-defuns. (byte-compile-file-form-defmumble): record the new alias in byte-compile-new-defuns.
| * Byte compile: Output an error, not a warning, for odd number of args to setqAlan Mackenzie2015-11-241-3/+3
| | | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Amend.
| * * lisp/emacs-lisp/nadvice.el (add-function): Fix debug spec.Johan Bockgård2015-11-231-2/+6
| | | | | | | | (remove-function): Ditto. (Bug#20376)
| * Signal an error when `setf' gets an odd number of arguments.Alan Mackenzie2015-11-231-0/+2
| | | | | | | | * lisp/emacs-lisp/gv.el (setf): Amend.
| * * lisp/emacs-lisp/smie.el (smie-backward-sexp): Handle BOB better.Stefan Monnier2015-11-231-1/+6
| |
| * Expunge occurrences of `setq' with an odd number of arguments.Alan Mackenzie2015-11-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/apropos.el (apropos-documentation): * lisp/obsolete/complete.el (PC-include-file-all-completions): * lisp/progmodes/compile.el (compilation-goto-locus): * lisp/vc/vc-cvs.el (vc-cvs-parse-root): (twice) Insert missing nil at end of `setq' forms. * lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-autoload): Remove an erroneous trailing variable name from a setq, thus allowing a compilation properly to track functions not defined at runtime.
| * Issue a warning from the byte compiler on a malformed `setq' form.Alan Mackenzie2015-11-231-1/+5
| | | | | | | | | | | | Partly fixes bug#20241. * lisp/emacs-lisp/bytecomp.el (byte-compile-setq): Issue a warning when a `setq' form with an odd number of arguments is compiled.
| * Don't let cconv_convert insert a nil argument into a `setq' form.Alan Mackenzie2015-11-231-4/+6
| | | | | | | | | | | | | | Fixes bug#21983. * lisp/emacs-lisp/cconv.el (cconv-convert): Don't silently insert a nil last argument into a `setq' when there're an odd number of args. This enables the byte compiler to issue a message in this case.
| * * lisp/emacs-lisp/package.el (package--with-response-buffer):Artur Malabarba2015-11-181-0/+1
| | | | | | | | | | Ensure we're at the start of the buffer before searching for the end of headers.
| * Fix docstring quoting problems with ‘ '’Paul Eggert2015-11-1710-23/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | Problem reported by Artur Malabarba in: http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html Most of these fixes are to documentation; many involve fixing longstanding quoting glitches that are independent of the recent substitute-command-keys changes. The changes to code are: * lisp/cedet/mode-local.el (mode-local-augment-function-help) (describe-mode-local-overload): Substitute docstrings before displaying them. * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Quote the generated docstring for later substitution.
| * pcase.el: Fix edebugging of backquoted cons patternsJohan Bockgård2015-11-161-1/+3
| | | | | | | | | | * lisp/emacs-lisp/pcase.el (pcase-QPAT): Fix edebugging of backquoted cons patterns. (Bug#21920)
| * * lisp/emacs-lisp/package.el (package--with-response-buffer): Missing requireArtur Malabarba2015-11-161-0/+1
| |