summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* 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)
* Tiny doc clarification for create-fontset-from-fontset-specLars Ingebrigtsen2016-05-011-1/+1
| | | | | | | * lisp/international/fontset.el (create-fontset-from-fontset-spec): Clarify what the optional part is (bug#18686). (cherry picked from commit c05d186455ce9907eeb6b21ea4227e453996c681)
* Fill the doc string of font-lock-keywordsLars Ingebrigtsen2016-05-011-77/+97
| | | | | | | * lisp/font-lock.el (font-lock-keywords): Fill the lines and reorganise some explanations (bug#21427). (cherry picked from commit c05716d3a26ea7518b89eacfccaf70c9d0731df7)
* Doc fix for font-lock-remove-keywordsLars Ingebrigtsen2016-05-011-2/+5
| | | | | | | * lisp/font-lock.el (font-lock-remove-keywords): Add a link to `font-lock-add-keywords' to describe KEYWORDS (bug#18634). (cherry picked from commit bc00dcf12983cd399127d0eea39647f29778eb02)
* Clarify whitespace-style doc stringLars Ingebrigtsen2016-05-011-8/+8
| | | | | | | * lisp/whitespace.el (whitespace-style): Doc clarification (bug#18296). (cherry picked from commit d96c720d0cca7c9ffbb4c712ad315bb707d6625c)
* Doc fixed for next-error-buffer-pLars Ingebrigtsen2016-05-011-12/+12
| | | | | | | * lisp/simple.el (next-error-buffer-p): Clarify doc string (bug#18202). (cherry picked from commit a10eb168cc96db9f0dab2d75550cbd8f08be2363)
* delsel doc touch upsLars Ingebrigtsen2016-05-011-9/+10
| | | | | | | * lisp/delsel.el (delete-selection-helper): Use non-nil instead of t and clarify function return values (bug#18089). (cherry picked from commit d7a5b5be9a5869bcd233434ec3103dd1976d7df7)
* Doc fixes for menu-bar.elLars Ingebrigtsen2016-05-011-2/+6
| | | | | | | | * lisp/menu-bar.el (clipboard-kill-ring-save): Describe the REGION parameter (bug#18028). (clipboard-kill-region): Ditto. (cherry picked from commit 33d2c67bff0992ecbc0fe38556683242b9d1a4ae)
* Doc fixLars Ingebrigtsen2016-05-011-1/+1
| | | | | | * lisp/rect.el (delete-whitespace-rectangle): Doc fix (bug#18026). (cherry picked from commit 6baca4911ec901579749dbf7596011d90fea3781)
* Minor doc clarificationLars Ingebrigtsen2016-05-011-1/+2
| | | | | | | * lisp/subr.el (y-or-n-p): Document the return value from "n" (bug#18024). (cherry picked from commit 5d1f3192d484edee92caa46cd7d699da3e920259)
* Fill font-lock-mode doc stringLars Ingebrigtsen2016-05-011-23/+27
| | | | | | | * lisp/font-core.el (font-lock-mode): Fill the text to make it narrower (bug#18008). (cherry picked from commit 27abf372836532c57be2e9e3ed23413729cc07fc)
* 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 hi-lock-find-patternsLars Ingebrigtsen2016-05-011-1/+1
| | | | | | | * lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification (bug#17989). (cherry picked from commit 552e90ce7dff3a7107243fdf71c4de3af443e13a)
* Add a doc string to `winner-mode'Lars Ingebrigtsen2016-05-011-1/+13
| | | | | | | * lisp/winner.el (winner-mode): Add a doc string based on the comments in the file (bug#17716). (cherry picked from commit 2c3ab9b6e39a3d600e7d82deacc24effaec051bb)
* Doc fix for align-newline-and-indentLars Ingebrigtsen2016-05-011-1/+3
| | | | | | | * lisp/align.el (align-newline-and-indent): Mention that alignment is done by `align' (bug#17707). (cherry picked from commit 340a224ec3e01706112a07164da9a9f3f369a5aa)
* Doc fix for `kbd'Lars Ingebrigtsen2016-05-011-2/+4
| | | | | | | * lisp/subr.el (kbd): Describe more fully the format of the parameter (bug#17039). (cherry picked from commit 3a33afe25d8518f194fa4706eaccdb2a786a0348)
* Doc tweakLars Ingebrigtsen2016-05-011-1/+1
| | | | | | | * lisp/simple.el (use-empty-active-region): Doc tweak. There's only one region (bug#16513). (cherry picked from commit 35fb7897f161d5e5a87e039dc1e427094640b0c8)
* find-lisp doc touchupsLars Ingebrigtsen2016-05-011-6/+10
| | | | | | | | * lisp/find-lisp.el (find-lisp-format): Copy over the doc string (bug#15047). (find-lisp-find-files): Clarify doc. (cherry picked from commit e4c7657b0d1a31d64ca24bc64b5480cd7687e332)
* 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)
* Clarify doc string of internal compilation functionLars Ingebrigtsen2016-05-011-2/+4
| | | | | | | * lisp/progmodes/compile.el (compilation-get-file-structure): Clarify doc string (bug#3137). (cherry picked from commit 123191decb7428db3b32a6c01631fa755088393a)
* * lisp/url/url.el (url-retrieve-synchronously): Doc fix. (Bug#23411)Eli Zaretskii2016-05-011-1/+4
|
* ; Auto-commit of loaddefs files.Glenn Morris2016-05-011-1231/+1241
|
* Fix last change to isearch-update (bug#23406)Leo Liu2016-05-011-1/+0
| | | | | | * lisp/isearch.el (isearch-update): Remove (setq cursor-sensor-inhibit nil) ie remove the original (unless (boundp 'cursor-sensor-inhibit) ...) form.
* Autoload cursor-sensor-inhibit (bug#23406)Leo Liu2016-04-302-3/+2
| | | | | * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-inhibit): Autoload. * lisp/isearch.el (isearch-update): Remove boundp check.
* org-map-entries: Fix org-agenda-prepare-buffers callPhillip Lord2016-04-301-2/+2
| | | | | | | | * lisp/org.el (org-map-entries): Check that buffer-file-name is non-nil before passing to org-agenda-prepare-buffers. This is a backport of commit 44c8cd7136e3fcd1e6bfa08895cac437b7a691fa from upstream org-mode. Addresses bug #23365.
* Improve doc string of 'set-goal-column'Eli Zaretskii2016-04-301-1/+2
| | | | * lisp/simple.el (set-goal-column): Doc fix. (Bug#23405)
* Fix the MSDOS buildEli Zaretskii2016-04-308-32/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.bat: * msdos/sedlisp.inp: * msdos/sedlibmk.inp: * msdos/sedleim.inp: * msdos/sedadmin.inp: * msdos/sed6.inp: * msdos/sed3v2.inp: * msdos/sed2v2.inp: * msdos/sed1v2.inp: Adapt to Emacs 25. * src/process.c (remove_slash_colon): Move out of "#ifdef subprocesses" block, as it its called unconditionally. Move ADD_SUBFEATURE calls into "#ifdef subprocesses" block, as they reference variables only defined in that block. * src/msdos.h: Provide prototypes for IT_set_frame_parameters, faccessat, msdos_fatal_signal, syms_of_msdos, pthread_sigmask, dos_keysns, dos_keyread, run_msdos_command, and syms_of_win16select, to avoid compiler warnings. * src/msdos.c (SYS_ENVIRON): Define to either '_environ' or 'environ', depending on the DJGPP version. Remove declarations of externally-visible Lisp objects, like Qbackground_color and Qreverse. (run_msdos_command): First argument is not signed, not unsigned. Use SYS_ENVIRON. (sys_select): Use 'timespec_cmp' instead of 'timespec_sign', as the latter doesn't work when 'time_t' is an unsigned data type. This caused idle timers to behave incorrectly: they only fired after a keyboard input event. * src/frame.c (adjust_frame_size) [MSDOS]: Account for FRAME_TOP_MARGIN that isn't counted in the frame's number of lines, but dos_set_window_size needs it to be added. * src/lread.c (INFINITY, NAN) [DJGPP < 2.05]: Provide definitions. * src/fns.c (sort_vector_copy) [__GNUC__ < 4]: Provide a prototype that works around compilation errors with older GCC versions. * src/w16select.c: Don't declare QCLIPBOARD and QPRIMARY as Lisp Objects. * src/filelock.c [MSDOS]: Ifdef away most of the code. Provide no-op implementations for 'lock_file' and 'unlock_file'. (Ffile_locked_p) [MSDOS]: Always return nil. This avoids multiple ifdefs in all users of filelock.c functionality. * src/conf_post.h (EOVERFLOW, SIZE_MAX) [DJGPP < 2.04]: Define. * src/emacs.c [MSDOS]: Include dosfns.h, to avoid compiler warnings. * src/dosfns.h: Provide prototypes for dos_cleanup, syms_of_dosfns, and init_dosfns. * src/deps.mk (atimer.o): Depend on msdos.h. (emacs.o): Depend on dosfns.h. * src/atimer.c [MSDOS]: Include msdos.h, to avoid compiler warnings. * lisp/window.el (window--adjust-process-windows): Skip the body if 'process-list' is not available. This avoids failure to start up on MS-DOS. * lisp/vc/diff.el (diff-no-select): Test 'make-process', not 'start-process', as the latter is now available on all platforms. * lisp/textmodes/ispell.el (ispell-async-processp): Replace 'start-process' with 'make-process' in a comment. * lisp/term/internal.el (IT-unicode-translations): Modify and add a few translations to display Info files with Unicode markup. Fix an ancient off-by-one mismatch error with Unicode codepoints. * lisp/progmodes/compile.el (compilation-start): Test 'make-process', not 'start-process', as the latter is now available on all platforms. * lisp/man.el (Man-build-man-command, Man-getpage-in-background): Test 'make-process', not 'start-process', as the latter is now available on all platforms. * lisp/international/mule-cmds.el (set-coding-system-map): Test 'make-process', not 'start-process', as the latter is now available on all platforms. * lisp/eshell/esh-cmd.el (eshell-do-pipelines-synchronously): Doc fix. (eshell-execute-pipeline): Test 'make-process', not 'start-process', as the latter is now available on all platforms.
* Remove \= from format string (bug#18190)Andreas Schwab2016-04-301-1/+1
| | | | | * lisp/emacs-lisp/eieio.el (defclass): Remove \= from format string.
* Fix variable-pitch font on MS-WindowsEli Zaretskii2016-04-301-1/+5
| | | | | | | * lisp/faces.el (variable-pitch) [w32]: Name a variable-pitch font explicitly, to avoid Emacs picking up a bold-italic variant on some MS-Windows systems. See this thread for details: http://lists.gnu.org/archive/html/emacs-devel/2016-04/msg00746.html.
* Restore follow-scroll-up/down to scrolling by the combined size of all windowsAlan Mackenzie2016-04-291-31/+107
| | | | | | | | | | | | | | | Also rename the current follow-scroll-up/down functions to follow-scroll-up-window and follow-scroll-down-window. These scroll by the height of the current window. This fixes bug #23347. * lisp/follow.el (follow-mode): Tweak the doc string. (follow-scroll-up-arg, follow-scroll-down-arg): new functions, extracted from follow-scroll-up/down. (follow-scroll-up-window, follow-scroll-down-window): Functions renamed from follow-scroll-up/down. (follow-scroll-up, follow-scroll-down): Restore the historic functionality.
* Revert unneeded change which harms syntactic parsing. This fixes bug #23308.Alan Mackenzie2016-04-291-1/+1
| | | | | | * lisp/progmodes/cc-engine.el (c-invalidate-state-cache): User c-state-old-cpp-end as an argument to c-with-all-but-one-cpps-commented-out regardless of the value of `here'.
* Correct indentation of ids in a C++ enum after a protection keyword.Alan Mackenzie2016-04-291-7/+11
| | | | | | | | | | | Also correct the misfontification of the last enum identifier. * lisp/progmodes/cc-engine.el (c-forward-keyword-prefixed-id): setq c-last-identifier-range to nil to ensure that only types recognized by this macro are set for fontification as types. (c-backward-typed-enum-colon): Function renamed from c-backward-colon-prefixed-type. On finding a colon in the backward search, check it is preceded by an identifier rather than a keyword.
* * lisp/window.el (window--process-window-list): No-op if no processes.Glenn Morris2016-04-271-18/+19
| | | | | | This avoids an issue with save-selected-window (from walk-windows) failing if frame.el is not loaded, eg if the terminal is resized during startup of a -nw CANNOT_DUMP build. (Bug#23369).
* Don't mistake `for' inside a function for a part of array comprehensionDmitry Gutov2016-04-281-2/+4
| | | | | | | * lisp/progmodes/js.el (js--indent-in-array-comp): Also check the depth in parens between the bracket and `for' (bug#23391). * test/indent/js.js: Add a corresponding example.
* Fix bug#22891: wrong terminal width when a fringe width is zero.Anders Lindgren2016-04-272-16/+3
| | | | | | | | | | | | | | | | | When either fringe width is zero, Emacs reserved one column for a continuation glyph. Terminal windows does not take this into account when the frame is resized. * lisp/window.el (window-adjust-process-window-size): Use `window-max-chars-per-line' instead of `window-body-width'. * lisp/term.el (term-window-width): Remove function. (It does the same as `window-max-chars-per-line' but without recent bug fixes.) (term-mode): Use `window-max-chars-per-line' instead of `term-window-width'. Backport (cherry picked from commit 5b5403289888efe8783ae6a405845b925f544ec1)
* Improve last change to vc-git-mode-line-stringLeo Liu2016-04-271-1/+1
| | | | | * lisp/vc/vc-git.el (vc-git-mode-line-string): Better fix that caches the result.
* Todo mode doc bug fixStephen Berman2016-04-271-9/+7
| | | | | * lisp/calendar/todo-mode.el (todo-show): Correct obsolete and no longer correct information in doc string.
* Fix revision calculation in vc-git-mode-line-stringLeo Liu2016-04-271-1/+1
| | | | | | * lisp/vc/vc-git.el (vc-git-mode-line-string): Use vc-git-working-revision because vc-working-revision needs to decide the backend and may return nil.
* ; Fix errant revert ccb75d7Mark Oteiza2016-04-261-3/+3
| | | | * lisp/rect.el (rectangle--highlight-for-redisplay): Use region face.
* Add Python 3.5 keyword "await"Jorgen Schaefer2016-04-261-0/+1
| | | | | * lisp/progmodes/python.el (python-font-lock-keywords): Add await as keyword.
* Add new keywords of Python 3.5Lele Gaifax2016-04-261-2/+11
| | | | | | | | | | | | | | | Python 3.5, released in mid September 2015, introduced a few new keywords to better support asynchronous code, "async" and "await" in particular. See https://www.python.org/dev/peps/pep-0492/ for details. (Bug#21783) * lisp/progmodes/python.el (python-rx-constituents): Add async def/for/with as block-start and async def as defun. * lisp/progmodes/python.el (python-font-lock-keywords): Add async def/for/with as keyword. * test/automated/python-tests.el (python-indent-after-async-block-1, python-indent-after-async-block-2, python-indent-after-async-block-3, python-nav-beginning-of-defun-3): New tests to test indentation and navigation for the async keyword.
* Partially revert previous change.Mark Oteiza2016-04-261-1/+1
| | | | | | This commit partially reverts 0f332848cdb2ed6d46771914a911cbca194cd51a. * lisp/rect.el (rectangle--highlight-for-redisplay): Use region face. This function is for rectangle-mark-mode, not string-rectangle.
* * 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.
* ; Auto-commit of loaddefs files.Glenn Morris2016-04-251-1/+1
|
* Don't mention ~/.emacs.bmk literally in doc stringsEli Zaretskii2016-04-251-4/+4
| | | | | | * lisp/bookmark.el (bookmark-save-flag, bookmark-load): Don't mention "~/.emacs.bmk" explicitly as the default bookmark file in the doc strings. (Bug#23350)
* Don't kill ~/ if it's the top level directoryTino Calancha2016-04-241-2/+2
| | | | | * lisp/dired-aux.el (dired-kill-subdir): Don't kill ~/ if it's the top level directory (bug#23017).
* describe-char: fix insert char documentationTino Calancha2016-04-231-1/+1
| | | | | | | * lisp/descr-text.el (describe-char): Only 'ucs-names' entries can be inserted by unicode name (Bug#23325). Copyright-paperwork-exempt: yes
* (vc-git-mode-line-string): Don't use `replace-regexp-in-string'Dmitry Gutov2016-04-231-1/+1
| | | | | | | * lisp/vc/vc-git.el (vc-git-mode-line-string): Use `substring' instead of `replace-regexp-in-string', because REV can be nil (e.g. when FILE is a directory, bug#23344), and we actually know we only need the first 4 characters.
* ; Auto-commit of loaddefs files.Nicolas Petton2016-04-221-919/+919
|