summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/emacs-lisp/lisp-mode.el (lisp--mode-syntax-table):Glenn Morris2016-05-311-1/+1
| | | | Fix typo. (Bug#23654)
* * lisp/emacs-lisp/find-func.el (find-function-library):Glenn Morris2016-05-261-2/+4
| | | | Update for symbol-function no longer erroring. (Bug#23626)
* Do not trash symlinks to init filePaul Eggert2016-05-221-2/+10
| | | | | | | | | | If the user’s init file is a symbolic link, do not break the link when initializing the package system. Problem reported by Jackson Hamilton (Bug#23050). * lisp/emacs-lisp/package.el (package--ensure-init-file): Bind find-file-visit-truename when visiting the init file, and save and restore the buffer name the way cus-edit does in a similar situation (Bug#454).
* * lisp/emacs-lisp/package.el (package-refresh-contents):Artur Malabarba2016-05-201-10/+4
| | | | | | Don't change the value of `package-check-signature'. (package-check-signature): Use `epg-find-configuration' instead of `executable-find'.
* * lisp/emacs-lisp/package.el: Fix free variable warnings.Artur Malabarba2016-05-181-37/+37
| | | | | (package--with-response-buffer): Replace two usages of `macroexp-let2*' with `let'.
* * lisp/emacs-lisp/package.el (package--with-response-buffer):Artur Malabarba2016-05-181-16/+21
| | | | | | | Fix some macro locals leaking into body. (Bug#22440) * test/automated/package-test.el (package-test-signed): Manually check all possible values of `package-check-signature'.
* Properly reject malformed or empty package sigsPaul Eggert2016-05-131-1/+1
| | | | | | | Problem report and fix by Lizzie Dixon (Bug#23513). * lisp/emacs-lisp/package.el (package--check-signature-content): Report an error if no good signatures OR if a fatal error. Not AND. Copyright-paperwork-exempt: yes
* * lisp/emacs-lisp/find-func.el (find-feature-regexp)Glenn Morris2016-05-121-2/+2
| | | | (find-alias-regexp): Fix :version.
* Make package-install-from-buffer not move pointDmitry Gutov2016-05-121-1/+2
| | | | | * lisp/emacs-lisp/package.el (package-install-from-buffer): Use save-excursion here (bug#22616).
* ; Revert "* emacs-lisp/lisp-mnt.el (lm-header): save-excursion"Dmitry Gutov2016-05-121-11/+10
| | | | | | This reverts commit bf3f6a961f378f35a292c41c0bfbdae88ee1b1b9. (Bug#22616)
* Redo the fix for bug#21839Dmitry Gutov2016-05-121-1/+2
| | | | | | | | * lisp/help.el (help-add-fundoc-usage): Undo the previous change. (help--make-usage-docstring): Escape newlines when printing. * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda): Ditto (bug#21839).
* ; Auto-commit of loaddefs files.Glenn Morris2016-05-101-1/+1
|
* Publicize cl--generic-all-functionsDmitry Gutov2016-05-103-3/+3
| | | | | | | | | * lisp/emacs-lisp/cl-generic.el (cl-generic-all-functions): Rename from cl--generic-all-functions. Update both callers. * lisp/cedet/semantic/db-el.el (semanticdb-find-tags-external-children-of-type-method): And use it here (bug#23042).
* ; Spelling fixesPaul Eggert2016-05-011-1/+1
|
* global-eldoc-mode doc fixLars Ingebrigtsen2016-05-011-2/+10
| | | | | | | * lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Be more specific about what "applicable" means (bug#23071). (cherry picked from commit 25e95b5dd8cd92e03788e589bf99a4b399f03114)
* Further define-obsolete-* doc fixupsLars Ingebrigtsen2016-05-011-2/+2
| | | | | | | | * lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias): Fix up last change. (define-obsolete-variable-alias): Ditto. (cherry picked from commit 28e9f4390d8391c2c36be4ef515cf3a2c679a5a5)
* Describe WHEN in all the define-obsolete- macrosLars Ingebrigtsen2016-05-011-2/+8
| | | | | | | | | * lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias): Say more verbosely what WHEN is (bug#21225). (define-obsolete-function-alias): Describe the WHEN parameter. (define-obsolete-variable-alias): Ditto. (cherry picked from commit 247c388f160581d207e41ca5926990bbf69d4a0f)
* add-timeout doc fixLars Ingebrigtsen2016-05-011-0/+2
| | | | | | | * lisp/emacs-lisp/timer.el (add-timeout): Mention the return value (bug#20181). (cherry picked from commit 921b40476f597c84d7c34aa289cd43caeb389c4a)
* Explictly explain that package-initialize loads the packagesLars Ingebrigtsen2016-05-011-1/+4
| | | | | | | | | * lisp/emacs-lisp/package.el (package-initialize): Be explicit in saying that `package-initialize' obviates adjusting the path or requiring the packages, as this is a question that apparently comes up now and then (bug#18829). (cherry picked from commit 619e0aedb2f3dbfe6821ac34e2d25b4e5c181117)
* Doc fix for insert-pair-alistLars Ingebrigtsen2016-05-011-1/+5
| | | | | | | * lisp/emacs-lisp/lisp.el (insert-pair-alist): Say what COMMAND-CHAR is (bug#18809). (cherry picked from commit 2824c587e9749a8f350f1d3dddd65176b4561dcb)
* Wrap the auto-generated doc stringLars Ingebrigtsen2016-05-011-1/+2
| | | | | | | | * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Wrap a string to make it less likely that we get overlong lines (bug#17999). (cherry picked from commit 323b69664914d687fd4b48593479cea223dfbcb4)
* Clarify some doc stringsLars Ingebrigtsen2016-05-011-3/+4
| | | | | | | | * lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock): Clarify doc string (bug#8693). (syntax-propertize): Clarify doc string. (cherry picked from commit ad3ef417f3c40f086de9c547d6272e5685595e42)
* Autoload cursor-sensor-inhibit (bug#23406)Leo Liu2016-04-301-0/+1
| | | | | * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-inhibit): Autoload. * lisp/isearch.el (isearch-update): Remove boundp check.
* Remove \= from format string (bug#18190)Andreas Schwab2016-04-301-1/+1
| | | | | * lisp/emacs-lisp/eieio.el (defclass): Remove \= from format string.
* * lisp/emacs-lisp/autoload.el (update-directory-autoloads):Glenn Morris2016-04-251-9/+11
| | | | | | Future-proof against non-time-values. ; Do not merge to master.
* Revert "Use 'grep-find-program' in check-declare.el"Eli Zaretskii2016-04-211-1/+1
| | | | This reverts commit 33bef6e90bfd20609d044b8a076c1570c627684a.
* Use 'grep-find-program' in check-declare.elEli Zaretskii2016-04-161-1/+1
| | | | | * lisp/emacs-lisp/check-declare.el (check-declare-directory): Use 'grep-find-program', not 'find-program'.
* Revert "Prevent bootstrap autoload backup files"Phillip Lord2016-04-121-28/+14
| | | | This reverts commit c23c965bb9d0a4bcc1b6158833ff99aa20fd53e9.
* Prevent bootstrap autoload backup filesPhillip Lord2016-04-121-14/+28
| | | | | | | | | | * lisp/emacs-lisp/autoload (autoload-find-generated-file): Suppress backups in newly created file. (autoload-ensure-default-file): Function split into two. (autoload-ensure-file-writeable): New function from split. (Bug#23203)
* Fix last change on 2016-01-02Leo Liu2016-04-111-3/+3
| | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Move `cl-errs-re' before `lisp--el-match-keyword'; don't use `prepend' which highlights `cl-errs-re' even in comments or strings.
* * lisp/emacs-lisp/package.el: Change from a few days ago needs seq.Glenn Morris2016-04-071-0/+1
| | | | ; Warning 'foo' is not known to be defined is always a bug.
* * lisp/emacs-lisp/seq.el: Load cl-lib, not cl-extra.Glenn Morris2016-04-071-1/+1
| | | | ; The various components of cl-lib are an internal implementation detail.
* * lisp/emacs-lisp/package.el (package-install-selected-packages):Artur Malabarba2016-04-041-11/+15
| | | | Skip unavailable packages.
* Teach M-x disassemble a default argument.Mark Oteiza2016-03-311-3/+7
| | | | | | Adopts default argument in the same way as `describe-function'. * lisp/emacs-lisp/disass.el (disassemble): Default to function at point, if any.
* Fix map-put and map-delete for alists (Bug#23105)Nicolas Petton2016-03-251-26/+10
| | | | | | * lisp/emacs-lisp/map.el (map-put): Do not bind the evaluated place expression to a new symbol. * test/lisp/emacs-lisp/map-tests.el: Add a regression test.
* Fix (args-out-of-range 1) error in cursor-sensor--detectLeo Liu2016-03-211-1/+1
| | | | | * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Don't hard-code (point-min) as 1 which fails in narrowed buffers.
* * lisp/emacs-lisp/smie.el (smie-indent-keyword): Don't burp in stringsStefan Monnier2016-03-161-1/+4
| | | | (bug#22960).
* Remove the highlighting support for quoting 'like this' inside Lisp docstringsDmitry Gutov2016-03-061-4/+4
| | | | | | | | | | | Remove the highlighting support for quoting 'like this' inside Lisp docstrings. This part of c4151ebe15479de4c2e511b068cdf9af6a4576cf seems to have been unintentional, considering substitute-command-keys gives wrong output for such usage. * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2) (lisp-cl-font-lock-keywords-2): Do not highlight text between two straight quotes as symbol.
* Comment on last change to define-derived-modeLeo Liu2016-03-011-1/+7
| | | | * lisp/emacs-lisp/derived.el (define-derived-mode): Add comment.
* * lisp/emacs-lisp/derived.el (define-derived-mode): Revert indent change.Leo Liu2016-02-271-2/+1
|
* Fix white space in last checkinLars Ingebrigtsen2016-02-241-1/+2
|
* Make `insert-pair' always leave the cursor where documentedDima Kogan2016-02-241-2/+4
| | | | | | | * lisp/emacs-lisp/lisp.el (insert-pair): The docstring of insert-pair states that after insertion, the point ends up after the opening character. This was not true if the pair was inserted to surround a region (bug#16949).
* Make setf for frame-height/width work againChristopher Wellons2016-02-231-2/+4
| | | | | * lisp/emacs-lisp/cl-lib.el (frame-height): Make setf for frame-height/width work again (bug#21979).
* (cl-union): Do not ignore :test argument when lists are equal.Nicolas Richard2016-02-231-1/+1
| | | | | | * cl-seq.el (cl-union): Do not ignore :test argument when lists are equal. * test/automated/cl-seq-tests.el: New file (bug#22729).
* Naming fix for consistencyDaiki Ueno2016-02-211-3/+3
| | | | | | * lisp/epg-config.el (epg-find-configuration): Rename from `epg-configuration-find' to be consistent with other epg-* functions. Change all callers.
* Take advantage of new GnuPG version check functionDaiki Ueno2016-02-171-6/+9
| | | | | | * lisp/emacs-lisp/package.el (epg-configuration-find): Declare. (package-refresh-contents): Use `epg-configuration-find' to check if EPG is usable.
* Avoid loading cl-lib for term/xterm.elc, eg in -Q -nw. (Bug#22669)Glenn Morris2016-02-161-0/+4
| | | | | * lisp/emacs-lisp/cl-generic.el (cl--generic-dispatchers): Prefill with relevant elements for term/xterm.
* Minor fixes in global-auto-composition-modeEli Zaretskii2016-02-151-0/+1
| | | | | | | * lisp/emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Produce prettier names of globalized minor modes. * lisp/composite.el (global-auto-composition-mode): Make it a globalized mode. (Bug#22682)
* Fix problems caused by new implementation of sub-word modeEli Zaretskii2016-02-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/subr.el (forward-word-strictly, backward-word-strictly): New functions. (word-move-empty-char-table): New variable. * etc/NEWS: Mention 'forward-word-strictly' and 'backward-word-strictly'. * doc/lispref/positions.texi (Word Motion): Document 'find-word-boundary-function-table', 'forward-word-strictly', and 'backward-word-strictly'. (Bug#22560) * src/syntax.c (syms_of_syntax) <find-word-boundary-function-table>: Doc fix. * lisp/wdired.el (wdired-xcase-word): * lisp/textmodes/texnfo-upd.el (texinfo-copy-node-name) (texinfo-copy-section-title, texinfo-start-menu-description) (texinfo-copy-menu-title, texinfo-specific-section-type) (texinfo-insert-node-lines, texinfo-copy-next-section-title): * lisp/textmodes/texinfo.el (texinfo-clone-environment) (texinfo-insert-@end): * lisp/textmodes/texinfmt.el (texinfo-format-scan) (texinfo-anchor, texinfo-multitable-widths) (texinfo-multitable-item): * lisp/textmodes/tex-mode.el (latex-env-before-change): * lisp/textmodes/flyspell.el (texinfo-mode-flyspell-verify): * lisp/skeleton.el (skeleton-insert): * lisp/simple.el (count-words): * lisp/progmodes/vhdl-mode.el (vhdl-beginning-of-libunit) (vhdl-beginning-of-defun, vhdl-beginning-of-statement-1) (vhdl-update-sensitivity-list, vhdl-template-block) (vhdl-template-break, vhdl-template-case, vhdl-template-default) (vhdl-template-default-indent, vhdl-template-for-loop) (vhdl-template-if-then-use, vhdl-template-bare-loop) (vhdl-template-nature, vhdl-template-procedural) (vhdl-template-process, vhdl-template-selected-signal-asst) (vhdl-template-type, vhdl-template-variable) (vhdl-template-while-loop, vhdl-beginning-of-block) (vhdl-hooked-abbrev, vhdl-port-copy, vhdl-hs-forward-sexp-func): * lisp/progmodes/verilog-mode.el (verilog-backward-sexp) (verilog-forward-sexp, verilog-beg-of-statement) (verilog-set-auto-endcomments, verilog-backward-token) (verilog-do-indent): * lisp/progmodes/vera-mode.el (vera-guess-basic-syntax) (vera-indent-block-closing): * lisp/progmodes/simula.el (simula-context) (simula-backward-up-level, simula-forward-down-level) (simula-previous-statement, simula-next-statement) (simula-skip-comment-backward, simula-calculate-indent) (simula-find-if, simula-electric-keyword): * lisp/progmodes/sh-script.el (sh-smie--rc-newline-semi-p): * lisp/progmodes/ruby-mode.el (ruby-smie--redundant-do-p) (ruby-smie--forward-token, ruby-smie--backward-token) (ruby-singleton-class-p, ruby-calculate-indent) (ruby-forward-sexp, ruby-backward-sexp): * lisp/progmodes/ps-mode.el (ps-run-goto-error): * lisp/progmodes/perl-mode.el (perl-syntax-propertize-function) (perl-syntax-propertize-special-constructs) (perl-backward-to-start-of-continued-exp): * lisp/progmodes/pascal.el (pascal-indent-declaration): * lisp/progmodes/octave.el (octave-function-file-p): * lisp/progmodes/mantemp.el (mantemp-insert-cxx-syntax): * lisp/progmodes/js.el (js--forward-function-decl): * lisp/progmodes/idlwave.el (idlwave-show-begin-check) (idlwave-beginning-of-block, idlwave-end-of-block) (idlwave-block-jump-out, idlwave-determine-class): * lisp/progmodes/icon.el (icon-is-continuation-line) (icon-backward-to-start-of-continued-exp, end-of-icon-defun): * lisp/progmodes/hideif.el (hide-ifdef-define): * lisp/progmodes/f90.el (f90-change-keywords): * lisp/progmodes/cperl-mode.el (cperl-electric-pod) (cperl-linefeed, cperl-electric-terminator) (cperl-find-pods-heres, cperl-fix-line-spacing) (cperl-invert-if-unless): * lisp/progmodes/cc-engine.el (c-forward-<>-arglist-recur): * lisp/progmodes/cc-align.el (c-lineup-java-inher): * lisp/progmodes/ada-mode.el (ada-compile-goto-error) (ada-adjust-case-skeleton, ada-create-case-exception) (ada-create-case-exception-substring) (ada-case-read-exceptions-from-file, ada-after-keyword-p) (ada-scan-paramlist, ada-get-current-indent, ada-get-indent-end) (ada-get-indent-if, ada-get-indent-block-start) (ada-get-indent-loop, ada-get-indent-type) (ada-search-prev-end-stmt, ada-check-defun-name) (ada-goto-decl-start, ada-goto-matching-start) (ada-goto-matching-end, ada-looking-at-semi-or) (ada-looking-at-semi-private, ada-in-paramlist-p) (ada-search-ignore-complex-boolean, ada-move-to-start) (ada-move-to-end, ada-which-function, ada-gen-treat-proc): * lisp/net/quickurl.el (quickurl-grab-url): * lisp/mail/sendmail.el (mail-do-fcc): * lisp/mail/rmail.el (rmail-resend): * lisp/mail/mailabbrev.el (mail-abbrev-complete-alias): * lisp/mail/mail-extr.el (mail-extract-address-components): * lisp/json.el (json-read-keyword): * lisp/files.el (insert-directory): * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): * lisp/completion.el (symbol-under-point, symbol-before-point) (symbol-before-point-for-complete, next-cdabbrev) (add-completions-from-c-buffer): * lisp/cedet/semantic/texi.el (semantic-up-context) (semantic-beginning-of-context): * lisp/cedet/semantic/bovine/el.el (semantic-get-local-variables): use 'forward-word-strictly' and 'backward-word-strictly' instead of 'forward-word' and 'backward-word'.
* Quoting fixes in doc strings and diagnosticsPaul Eggert2016-02-033-7/+9
| | | | | | | * lisp/emacs-lisp/bytecomp.el (byte-compile-setq, byte-compile-funcall): * lisp/gnus/mml-smime.el (mml-smime-get-dns-cert) (mml-smime-get-ldap-cert): Follow user style preference when quoting diagnostics.