| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
| |
* lisp/emacs-lisp/lisp.el (insert-pair-alist): Say what
COMMAND-CHAR is (bug#18809).
(cherry picked from commit 2824c587e9749a8f350f1d3dddd65176b4561dcb)
|
|
|
|
|
|
|
| |
* lisp/international/fontset.el (create-fontset-from-fontset-spec):
Clarify what the optional part is (bug#18686).
(cherry picked from commit c05d186455ce9907eeb6b21ea4227e453996c681)
|
|
|
|
|
|
|
| |
* lisp/font-lock.el (font-lock-keywords): Fill the lines and
reorganise some explanations (bug#21427).
(cherry picked from commit c05716d3a26ea7518b89eacfccaf70c9d0731df7)
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
| |
* lisp/whitespace.el (whitespace-style): Doc clarification
(bug#18296).
(cherry picked from commit d96c720d0cca7c9ffbb4c712ad315bb707d6625c)
|
|
|
|
|
|
|
| |
* lisp/simple.el (next-error-buffer-p): Clarify doc string
(bug#18202).
(cherry picked from commit a10eb168cc96db9f0dab2d75550cbd8f08be2363)
|
|
|
|
|
|
|
| |
* lisp/delsel.el (delete-selection-helper): Use non-nil
instead of t and clarify function return values (bug#18089).
(cherry picked from commit d7a5b5be9a5869bcd233434ec3103dd1976d7df7)
|
|
|
|
|
|
|
|
| |
* lisp/menu-bar.el (clipboard-kill-ring-save): Describe the
REGION parameter (bug#18028).
(clipboard-kill-region): Ditto.
(cherry picked from commit 33d2c67bff0992ecbc0fe38556683242b9d1a4ae)
|
|
|
|
|
|
| |
* lisp/rect.el (delete-whitespace-rectangle): Doc fix (bug#18026).
(cherry picked from commit 6baca4911ec901579749dbf7596011d90fea3781)
|
|
|
|
|
|
|
| |
* lisp/subr.el (y-or-n-p): Document the return value from "n"
(bug#18024).
(cherry picked from commit 5d1f3192d484edee92caa46cd7d699da3e920259)
|
|
|
|
|
|
|
| |
* lisp/font-core.el (font-lock-mode): Fill the text to make it
narrower (bug#18008).
(cherry picked from commit 27abf372836532c57be2e9e3ed23413729cc07fc)
|
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
| |
* lisp/hi-lock.el (hi-lock-find-patterns): Doc clarification
(bug#17989).
(cherry picked from commit 552e90ce7dff3a7107243fdf71c4de3af443e13a)
|
|
|
|
|
|
|
| |
* lisp/winner.el (winner-mode): Add a doc string based on the
comments in the file (bug#17716).
(cherry picked from commit 2c3ab9b6e39a3d600e7d82deacc24effaec051bb)
|
|
|
|
|
|
|
| |
* lisp/align.el (align-newline-and-indent): Mention that
alignment is done by `align' (bug#17707).
(cherry picked from commit 340a224ec3e01706112a07164da9a9f3f369a5aa)
|
|
|
|
|
|
|
| |
* lisp/subr.el (kbd): Describe more fully the format of the
parameter (bug#17039).
(cherry picked from commit 3a33afe25d8518f194fa4706eaccdb2a786a0348)
|
|
|
|
|
|
|
| |
* lisp/simple.el (use-empty-active-region): Doc tweak.
There's only one region (bug#16513).
(cherry picked from commit 35fb7897f161d5e5a87e039dc1e427094640b0c8)
|
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
|
|
| |
* lisp/progmodes/compile.el (compilation-get-file-structure):
Clarify doc string (bug#3137).
(cherry picked from commit 123191decb7428db3b32a6c01631fa755088393a)
|
| |
|
| |
|
|
|
|
|
|
| |
* lisp/isearch.el (isearch-update): Remove (setq cursor-sensor-inhibit
nil) ie remove the original (unless (boundp 'cursor-sensor-inhibit)
...) form.
|
|
|
|
|
| |
* lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-inhibit): Autoload.
* lisp/isearch.el (isearch-update): Remove boundp check.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* lisp/simple.el (set-goal-column): Doc fix. (Bug#23405)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* lisp/emacs-lisp/eieio.el (defclass): Remove \= from format
string.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* 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'.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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).
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
* lisp/vc/vc-git.el (vc-git-mode-line-string): Better fix that caches
the result.
|
|
|
|
|
| |
* lisp/calendar/todo-mode.el (todo-show): Correct obsolete and no
longer correct information in doc string.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* lisp/rect.el (rectangle--highlight-for-redisplay): Use region face.
|
|
|
|
|
| |
* lisp/progmodes/python.el (python-font-lock-keywords): Add await as
keyword.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Future-proof against non-time-values.
; Do not merge to master.
|
| |
|
|
|
|
|
|
| |
* 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)
|
|
|
|
|
| |
* lisp/dired-aux.el (dired-kill-subdir): Don't kill ~/ if it's
the top level directory (bug#23017).
|
|
|
|
|
|
|
| |
* lisp/descr-text.el (describe-char):
Only 'ucs-names' entries can be inserted by unicode name (Bug#23325).
Copyright-paperwork-exempt: yes
|
|
|
|
|
|
|
| |
* 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.
|
| |
|