summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/savehist.el (savehist-mode): Doc fix. (Bug#32889)Eli Zaretskii2018-10-011-5/+22
|
* ; * lisp/bindings.el (bindings--define-key): Doc fix. (Bug#32885)Eli Zaretskii2018-10-011-1/+4
|
* Temporary workaround for bug #32848 for branch emacs-26Alan Mackenzie2018-09-301-1/+7
| | | | | | | Do not merge with master. * lisp/follow.el (follow-mode): Set make-cursor-line-fully-visible to nil buffer locally whilst follow-mode is active.
* Improve cl-do, cl-do* docstringsTino Calancha2018-09-291-2/+37
| | | | | * lisp/emacs-lisp/cl-macs.el(cl-do, cl-do*): Improve docstring (Bug#32803).
* Avoid returning early in 'while-no-input' due to subprocessesEli Zaretskii2018-09-291-1/+1
| | | | | | | | | | | | * src/keyboard.c (kbd_buffer_store_buffered_event): Support also the internal buffer-switch events. (syms_of_keyboard) <Qbuffer_switch>: New DEFSYM. * lisp/subr.el (while-no-input-ignore-events): Ignore 'buffer-switch' events. Reported by Michael Heerdegen <michael_heerdegen@web.de>. * etc/NEWS: Mention the change in behavior of 'while-no-input'
* ; Fix some doc typosGlenn Morris2018-09-283-3/+3
|
* Fix Bug#32828Michael Albinus2018-09-281-4/+5
| | | | | * lisp/net/dbus.el (dbus-init-bus): Return number of connections, as promised by the docstring. (Bug#32828)
* * lisp/net/shr.el (shr-copy-url): Fix docstring.Noam Postavsky2018-09-271-3/+3
|
* ; Spellcheck two more documentation stringsCharles A. Roelli2018-09-251-1/+1
| | | | | * lisp/files.el (hack-local-variables): * src/keymap.c (Ftext_char_description): Spellcheck documentation.
* ; * lisp/simple.el (save-interprogram-paste-before-kill): Fix documentation.Charles A. Roelli2018-09-251-1/+1
|
* Improve docs of functions/variables related to 'display-buffer'Eli Zaretskii2018-09-241-28/+53
| | | | | | | | | | | | | * lisp/window.el (display-buffer, pop-to-buffer-same-window) (display-buffer-same-window, display-buffer-in-side-window) (same-window-p, display-buffer-overriding-action) (display-buffer-base-action) (display-buffer--same-window-action) (display-buffer--other-frame-action) (with-current-buffer-window, with-displayed-buffer-window) (display-buffer-alist, display-buffer-assq-regexp) (display-buffer-other-frame): Clarify and improve the doc strings. (Bug#32798)
* * lisp/mouse.el (tear-off-window): Fix non-mouse use (bug#32799)Stefan Monnier2018-09-221-1/+1
|
* Improve documentation of directory-local variablesEli Zaretskii2018-09-221-3/+6
| | | | | | | | | | | * lisp/files.el (hack-local-variables, normal-mode) (after-find-file, find-file-hook): Mention directory-local variables in the doc strings. Suggested by Marcin Borkowski <mbork@mbork.pl>. * doc/emacs/custom.texi (File Variables, Directory Variables): Clarify that directory-local variables are overridden by file-local ones.
* Use save-place-mode instead of save-placeMark A. Hershberger2018-09-222-9/+9
| | | | | | | * lisp/menu-bar.el (menu-bar-options-save, menu-bar-options-menu): * lisp/saveplace.el (save-place-to-alist, save-places-to-alist) (save-place-find-file-hook, save-place-dired-hook): Use save-place-mode instead of the obsolete save-place.
* Document synchronous behavior of eshell/make (Bug#32513)Noam Postavsky2018-09-191-1/+2
| | | | | | * doc/misc/eshell.texi (Built-ins): * lisp/eshell/em-unix.el (eshell/make): Mention that it falls back to the external 'make' command when called synchronously.
* Fix bs-show with wide characters (Bug#17822)Shigeru Fukaya2018-09-191-2/+2
| | | | | * lisp/bs.el (bs--insert-one-entry, bs-show-in-buffer): Use string-width instead of length.
* Improve Custom menu labels for 2 optionsEli Zaretskii2018-09-192-14/+19
| | | | | | * lisp/dired.el (dired-use-ls-dired): * lisp/progmodes/xref.el (xref-prompt-for-identifier): Improve the doc string and the defcustom menu/tags text. (Bug#32756)
* Fix the Bubbles game on TTY framesEli Zaretskii2018-09-171-34/+30
| | | | | | | | | | | | * lisp/play/bubbles.el (bubbles--col-offset) (bubbles--row-offset): Doc fixes. (bubbles--compute-offsets): Conflate the GUI and TTY code into a single common version. Set the offsets to simple numbers, not to lists. (bubbles--initialize, bubbles--show-scores): Wrap offset values in a list, so that they are interpreted as pixel values, not as units of character width. This fixes the game on TTY frames. (Bug#32744)
* Add choice to reshow certificate information (Bug#31877)Allen Li2018-09-161-23/+28
| | | | | | | | | | In various situations, the window displaying the certificate information can be hidden (such as if the user accidentally presses ?, which causes the read-multiple-choice help window to replace it). Instead of leaving the user to make a choice blindly, add a choice to reshow the certification information. * lisp/net/nsm.el (nsm-query-user): Add reshow choice.
* Remove unused variableLeo Liu2018-09-141-6/+0
| | | | * lisp/progmodes/prolog.el (prolog-hungry-delete-key-flag): Remove.
* Fix (thing-at-point 'list) regression (Bug#31772)Leo Liu2018-09-141-12/+15
| | | | | | | | | | * lisp/thingatpt.el (thing-at-point-bounds-of-list-at-point): Revert to pre 26.1 behavior. Return whole sexp at point if no enclosing list. (list-at-point): New optional arg to ignore comments and strings. * test/lisp/thingatpt-tests.el (thing-at-point-bounds-of-list-at-point): Fix and augment tests.
* Increase default value for imenu-auto-rescan-maxoutAlex Branham2018-09-121-4/+4
| | | | | | | | | * lisp/imenu.el (imenu-auto-rescan-maxout): Increase default value to 600000. (Bug#18426) * doc/emacs/programs.texi (imenu-auto-rescan-maxout): Add documentation for imenu-auto-rescan-maxout. Copyright-paperwork-exempt: yes
* Fix handling of abbreviated control command in gdb-mi.elEli Zaretskii2018-09-101-2/+3
| | | | | * lisp/progmodes/gdb-mi.el (gdb-control-commands-regexp): Support unambiguous abbreviations of commands. (Bug#32576)
* Record :version for built-in variables while dumpingEli Zaretskii2018-09-071-1/+2
| | | | | | | * lisp/cus-start.el (standard): Record the ':version; of the symbols when dumping, so that 'describe-variable' could tell which built-in variables were added/changed in recent versions.
* Better fix for bug#32550Stefan Monnier2018-09-042-5/+11
| | | | | | | | * lisp/rfn-eshadow.el (rfn-eshadow-overlay): Give it a global default. * lisp/net/tramp.el (rfn-eshadow-overlay): Declare it as dynamically scoped. (tramp-rfn-eshadow-update-overlay): Revert the corresponding part of last change.
* Fix Bug#32550Michael Albinus2018-09-041-19/+14
| | | | | | | | * lisp/net/tramp.el (tramp-rfn-eshadow-setup-minibuffer): Do not use `symbol-value'. (tramp-rfn-eshadow-update-overlay): Do not use `symbol-value'. Do not let-bind `rfn-eshadow-overlay', assign it directly (due to lexical binding). (Bug#32550)
* * lisp/calculator.el: Fix doc typo.Paul Eggert2018-09-031-1/+1
|
* Standardize calc bug reporting instructionsGlenn Morris2018-09-032-15/+5
| | | | | | | * doc/misc/calc.texi (Reporting Bugs): Use standard commands. * lisp/calc/calc-misc.el (report-calc-bug, calc-report-bug): * lisp/calc/calc.el (calc-bug-address): Change to be obsolete aliases for standard Emacs bug reporting items.
* ; Auto-commit of loaddefs files.Glenn Morris2018-09-011-1/+5
|
* Fix math-imaginary-i checkNoam Postavsky2018-08-281-2/+2
| | | | | | | Reported by Bastian Erdnüß at <https://lists.gnu.org/archive/html/emacs-devel/2018-08/msg00300.html>. * lisp/calc/calc-cplx.el (math-imaginary-i): Check for a value of (polar 1 <quarter-circle>).
* Small checkdoc quoting fix (bug#32546)Glenn Morris2018-08-271-1/+1
| | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Fix quoting thinko.
* Prevent `modify-file-local-variable-prop-line' from adding extra ';'Wenjamin Petrenko2018-08-241-1/+3
| | | | | | | | * lisp/files-x.el (modify-file-local-variable-prop-line): Handle whitespace when checking if there's already a ';' before the variable (Bug#23294). Copyright-paperwork-exempt: yes
* Recognize codepage 65001 as a valid encodingEli Zaretskii2018-08-211-0/+5
| | | | | * lisp/international/mule-conf.el (cp65001): Define it as an alias for UTF-8.
* Fix duplicate custom group names in bibtex.elBasil L. Contovounesios2018-08-171-1/+1
| | | | | * lisp/textmodes/bibtex.el (bibtex-BibTeX-entry-alist): Change :group from BibTeX to bibtex. (bug#32436)
* Ibuffer: Add toggle ibuffer-do-toggle-lockTino Calancha2018-08-131-0/+16
| | | | | | | | | | | Toggle the locked status in marked buffers or the buffer at point (Bug#32421). * lisp/ibuffer.el (ibuffer-do-toggle-lock): New command. (ibuffer-mode-map): Bind it to 'L'. (ibuffer-mode-operate-map): Add entries for `ibuffer-do-toggle-read-only' and `ibuffer-do-toggle-lock'. * etc/NEWS (Changes in Specialized Modes and Packages in Emacs 26.2): Announce the change.
* Ibuffer: Detect correctly the buffers running a processTino Calancha2018-08-131-6/+5
| | | | | | * lisp/ibuffer.el (filename-and-process): Store the process buffer as a text property; check for such property to detect a buffer with a process (Bug#32420).
* ; * lisp/simple.el (line-move-visual): Fix typo.Charles A. Roelli2018-08-121-1/+1
|
* Do not consider external packages to be removable (Bug#27822)Yuri D'Elia2018-08-111-1/+12
| | | | | | | | | Packages which are not directly user-installed shouldn't be autoremoved, since they can be setup through a different path (via `package-directory-list') where we have no authority over. * lisp/emacs-lisp/package.el (package--user-installed-p): New function. (package--removable-packages): Use it.
* Better support utf-8-with-signature and utf-8-hfs in HTMLEli Zaretskii2018-08-111-1/+11
| | | | | | | * lisp/international/mule.el (sgml-html-meta-auto-coding-function): Support UTF-8 with BOM and utf-8-hfs as variants of UTF-8, and obey the buffer's encoding if it is one of these variants, instead of re-encoding in UTF-8 proper. (Bug#20623)
* Fix bugs in `auth-source-netrc-parse-one'.Filipp Gunbin2018-08-101-5/+7
| | | | | | | | | | * lisp/auth-source.el (auth-source-netrc-parse-one): Ensure that match data is not overwritten in `auth-source-netrc-parse-next-interesting'. Ensure that blanks are skipped before and after going over comments and eols. * test/lisp/auth-source-tests.el (auth-source-test-netrc-parse-one): New test. (cherry picked from commit 60ff8101449eea3a5ca4961299501efd83d011bd)
* Improve error messages regarding initial-buffer-choice (Bug#29098)Alexander Gramiak2018-08-091-2/+2
| | | | | | * lisp/startup.el (command-line-1) <initial-buffer-choice>: Make the messages conform to Emacs conventions, and show the invalid return value in the message.
* Improve documentation of M-?Eli Zaretskii2018-08-071-1/+5
| | | | | | | * doc/emacs/maintaining.texi (Identifier Search): * lisp/progmodes/xref.el (xref-find-references): Improve documentation of xref-find-references and xref-prompt-for-identifier. (Bug#32389)
* Reinterpret Esperanto characters in iso-transl as iso-8859-3.Ivan Shmakov2018-08-071-12/+12
| | | | | | * lisp/international/iso-transl.el (iso-transl-language-alist): Reinterpret Esperanto characters as iso-8859-3 (were: iso-8859-1). (Bug#32371)
* Fix Flyspell mode when several languages are mixed in a bufferEli Zaretskii2018-08-071-6/+31
| | | | | | | * lisp/textmodes/flyspell.el (flyspell-external-point-words): Handle "misspelled" words that actually belong to a language unsupported by the current dictionary. (Bug#32280) Fix the test for Ispell the program.
* New function read-answer (Bug#31782)Juri Linkov2018-08-043-33/+151
| | | | | | | | | | | | | | * lisp/emacs-lisp/map-ynp.el (read-answer-short): New defcustom. (read-answer): New function. * lisp/subr.el (assoc-delete-all): New function. * etc/NEWS: Announce them. * lisp/dired.el (dired-delete-file): Use read-answer. (dired--yes-no-all-quit-help): Remove function. (dired-delete-help): Remove defconst. (backported from master, "New function read-answer (bug#30073)" and "Respect non-saved value of `read-short-answer' (Bug#31782)")
* ; Auto-commit of loaddefs files.Glenn Morris2018-08-011-9/+20
|
* Fix url's thing-at-point beginning-op (Bug#32028)Raimon Grau2018-07-291-1/+1
| | | | * lisp/thingatpt.el (url): Fix beginning-op making.
* Fix use of non-nil wdired-use-interactive-renameStephen Berman2018-07-281-9/+29
| | | | | | | | | | This is a fairly minimal fix for the release branch; a more comprehensive fix is on master, so do not merge this to master. * lisp/wdired.el (wdired-search-and-rename): Remove dired-filename text property in order to find new filename when it only partially replaces old filename (bug#32173). If user quits before renaming succeeds, restore the dired-filename text property.
* Don't fail to indent-sexp before a full sexp (Bug#31984)Noam Postavsky2018-07-271-8/+16
| | | | | | | | * lisp/emacs-lisp/lisp-mode.el (indent-sexp): Only signal error if the initial forward-sexp fails. Suppress scan-error forn any of the forward-sexp calls after that. * test/lisp/emacs-lisp/lisp-mode-tests.el (indent-sexp-cant-go): New test.
* Display raw bytes as belonging to 'eight-bit' charsetEli Zaretskii2018-07-273-2/+9
| | | | | | | | | * lisp/descr-text.el (describe-char): * lisp/simple.el (what-cursor-position): Display characters in the range #x3FFF80..#x3FFF9F as belonging to charset 'eight-bit', not 'tis620-2533'. * lisp/international/mule-diag.el (describe-character-set): Improve description of :supplementary-p.