- 11 Jun, 2015 9 commits
-
-
Juri Linkov authored
* lisp/simple.el (kill-region): Replace 'error' with 'user-error'. (Bug#20785)
-
Glenn Morris authored
-
Paul Eggert authored
While investigating Bug#20759, I discovered other quoting problems: C-h f mishandled characters like backslash and quote in function names. This fix changes the behavior so that 'C-h f pcase RET' now generates "... (\` QPAT) ..." instead of "... (` QPAT) ...", because '(format "%S" '(` FOO))' returns "(\\` FOO)". A comment in src/lread.c's read1 function says that the backslash will be needed starting in Emacs 25, which implies that 'format' is correct and the old pcase documention was wrong to omit the backslash. * lisp/emacs-lisp/nadvice.el (advice--make-docstring): * lisp/help-fns.el (help-fns--signature): * lisp/help.el (help-add-fundoc-usage): * lisp/progmodes/elisp-mode.el (elisp-function-argstring): Use help--make-usage-docstring rather than formatting help-make-usage. * lisp/emacs-lisp/pcase.el (pcase--make-docstring): Return raw docstring. * lisp/help-fns.el (help-fns--signature): New arg RAW, to return raw docstring. Take more care to distinguish raw from cooked dstrings. (describe-function-1): Let help-fns--signature substitute command keys. * lisp/help.el (help--docstring-quote): New function. (help-split-fundoc): Use it, to quote funny characters more systematically. (help--make-usage): Rename from help-make-usage, since this should be private. Leave an obsolete alias for the old name. (help--make-usage-docstring): New function. * test/automated/help-fns.el (help-fns-test-funny-names): New test.
-
Stefan Monnier authored
since in-string-p is not used in thingatpt.el but only from outside. Also, use lexical binding.
-
Eli Zaretskii authored
-
Artur Malabarba authored
* test/automated/let-alist.el (let-alist-cons): Test it.
-
Nicolas Richard authored
-
Glenn Morris authored
; * ChangeLog.2: Related fixes.
-
Glenn Morris authored
* build-aux/gitlog-to-changelog: Handle gitmerge.el skipped commits. * admin/gitmerge.el (gitmerge-commit-message): Exclude "skipped" messages from ChangeLog once again. ; * ChangLog.2: Related fixes.
-
- 10 Jun, 2015 12 commits
-
-
Glenn Morris authored
* lisp/thingatpt.el (thing-at-point--in-string-p) (thing-at-point--end-of-sexp, thing-at-point--beginning-of-sexp) (thing-at-point--read-from-whole-string): Rename from old versions without "thing-at-point--" prefix. Keep old versions as obsolete aliases. Update all uses.
-
Glenn Morris authored
Move requiring of finder from here... (checkdoc-package-keywords): ... to here.
-
Glenn Morris authored
* lisp/calendar/appt.el (appt-add): * lisp/calendar/calendar.el (calendar-absolute-from-gregorian) (calendar-generate): * lisp/calendar/diary-lib.el (diary-mail-entries, diary-cyclic): Replace 'error' with 'user-error'.
-
Glenn Morris authored
-
Glenn Morris authored
Special-case 'lexical-binding'. (Bug#20641)
-
Glenn Morris authored
No longer autoload. * doc/misc/autotype.texi (Executables): Undocument executable-self-display.
-
Glenn Morris authored
Use non-obsolete tail syntax. (Bug#20779) (executable-self-display): Doc update.
-
Stefan Monnier authored
(finder-known-keywords): Silence byte-compiler.
-
Glenn Morris authored
-
Stefan Monnier authored
-
Stefan Monnier authored
(sh-here-doc-open-re): Don't mis-match the <<< operator (bug#20683). (sh-font-lock-quoted-subshell): Make sure double quotes within single quotes don't mistakenly end prematurely the surrounding string.
-
Stefan Monnier authored
-
- 09 Jun, 2015 4 commits
-
-
Glenn Morris authored
-
Glenn Morris authored
* lwlib/Makefile.in (WARN_CFLAGS): Use built-in Make functions rather than echo+sed.
-
Eli Zaretskii authored
* lisp/international/characters.el (char-script-table): Update from Unicode 8.0 Draft.
-
Eli Zaretskii authored
* src/fontset.c (face_for_char): If the character's script is 'symbol', and the font used for ASCII face has a glyph for it, use the font for the ASCII face instead of searching the fontsets. This comes instead of NS-specific code that used the current face's font instead, which is now disabled due to undesirable consequences. (Bug#20727)
-
- 08 Jun, 2015 8 commits
-
-
Dmitry Gutov authored
* lisp/progmodes/elisp-mode.el (elisp-completion-at-point): Skip past `#' to find BEG (bug#20771). * test/automated/elisp-mode-tests.el (elisp-completes-functions-after-hash-quote): New test.
-
Eli Zaretskii authored
* src/xdisp.c (append_space_for_newline): Condition GUI-specific code on HAVE_WINDOW_SYSTEM.
-
Eli Zaretskii authored
* lisp/international/fontset.el (setup-default-fontset): Better setup of fontset-default for symbols: use Symbola and FreeMono. (Bug#20727)
-
Oleh Krehel authored
* lisp/emacs-lisp/checkdoc.el (checkdoc-package-keywords-flag): New defcustom. (checkdoc-list-of-strings-p): Add doc. (checkdoc-current-buffer): When `checkdoc-package-keywords-flag' is non-nil, call `checkdoc-package-keywords'. (checkdoc-get-keywords): New defun. (checkdoc-package-keywords): New command. Warns if the current file has package.el-style keywords that aren't in `finder-known-keywords'. * etc/NEWS: Add entry.
-
Eli Zaretskii authored
* src/keymap.c (Fkey_binding): Don't segfault if called with an empty vector as KEY. (Bug#20705)
-
Eli Zaretskii authored
* lisp/arc-mode.el (archive-zip-summarize): Fix last change in the non-Zip64 case. (Bug#20769)
-
Artur Malabarba authored
-
Oleh Krehel authored
* lisp/emacs-lisp/checkdoc.el (checkdoc-error): When `checkdoc-diagnostic-buffer' is set to "*warn*", print the warning to the standard output. (bug#20754)
-
- 07 Jun, 2015 7 commits
-
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
-
Glenn Morris authored
* src/coding.c (syms_of_coding): * src/font.c (syms_of_font): Remove leading "*" from docs. * lisp/cus-start.el (enable-character-translation): Add it.
-
Paul Eggert authored
That way, 'make change-history' needs to change only ChangeLog.2, instead of having to change two files. * ChangeLog.2: Add commit info for range that this file covers. * Makefile.in (new_commit_regexp): New macro. (change-history-nocommit): Simplify, by putting what used to be the gen_origin value into the data (ChangeLog.2) rather than into the program (gitlog-to-emacslog). * build-aux/gitlog-to-emacslog (gen_origin): Calculate from the input file (e.g., ChangeLog.2) rather than by having a constant in the program. Substitute it into the output.
-
Dmitry Gutov authored
* lisp/help-fns.el (help-fns--signature): Quote any quotes in the function name (bug#20759).
-
Eli Zaretskii authored
* nt/inc/ms-w32.h (struct timespec): Don't declare if __struct_timespec_defined is defined.
-