Glenn Morris
cabaa992fa
Slight namespace cleanup for thingatpt.el.
...
* 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.
2015-06-10 19:07:09 -04:00
Glenn Morris
7c24a2c210
* lisp/emacs-lisp/checkdoc.el (checkdoc-get-keywords):
...
Move requiring of finder from here...
(checkdoc-package-keywords): ... to here.
2015-06-10 17:06:02 -04:00
Glenn Morris
fb7234019f
Use 'user-error' in a few calendar files.
...
* 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'.
2015-06-10 17:04:54 -04:00
Glenn Morris
7de8137710
* lisp/progmodes/f90.el (f90-backslash-not-special): Use user-error.
2015-06-10 16:57:59 -04:00
Glenn Morris
6bf9bdb4b1
* lisp/files-x.el (add-file-local-variable):
...
Special-case 'lexical-binding'. (Bug#20641)
2015-06-10 16:38:18 -04:00
Glenn Morris
d9d04bfa49
* lisp/progmodes/executable.el (executable-self-display): Obsolete.
...
No longer autoload.
* doc/misc/autotype.texi (Executables):
Undocument executable-self-display.
2015-06-10 16:24:32 -04:00
Glenn Morris
dfa1dc1c2b
* lisp/progmodes/executable.el (executable-self-display):
...
Use non-obsolete tail syntax. (Bug#20779)
(executable-self-display): Doc update.
2015-06-10 16:19:13 -04:00
Stefan Monnier
a0f0f08a52
* lisp/emacs-lisp/checkdoc.el: Use lexical-binding
...
(finder-known-keywords): Silence byte-compiler.
2015-06-10 09:11:20 -04:00
Glenn Morris
683e995e53
; * lisp/simple: Revert presumably unintentional deletion of special-mode.
2015-06-09 20:34:50 -07:00
Stefan Monnier
0fad7268a8
* lisp/simple.el (eval-expression): Macroexpand before evaluating (bug#20730)
2015-06-09 22:14:47 -04:00
Stefan Monnier
06193432f2
* lisp/progmodes/sh-script.el: Better handle nested quotes
...
(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.
2015-06-09 22:10:38 -04:00
Stefan Monnier
26a17f5ac9
* lisp/progmodes/elisp-mode.el: Require cl-lib for cl-defstruct.
2015-06-09 21:21:29 -04:00
Eli Zaretskii
76f2d766ad
Update char-script-table
...
* lisp/international/characters.el (char-script-table): Update
from Unicode 8.0 Draft.
2015-06-09 19:36:14 +03:00
Dmitry Gutov
68273707ec
Skip past `#' to find BEG
...
* 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.
2015-06-09 01:08:28 +03:00
Eli Zaretskii
8d9e5bab41
Improve the default fontset wrt symbols
...
* lisp/international/fontset.el (setup-default-fontset): Better
setup of fontset-default for symbols: use Symbola and FreeMono.
(Bug#20727)
2015-06-08 21:04:08 +03:00
Oleh Krehel
20de61c833
Add new command checkdoc-package-keywords
...
* 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.
2015-06-08 16:54:51 +02:00
Eli Zaretskii
a04d35cb02
Fix a thinko in arc-mode.el
...
* lisp/arc-mode.el (archive-zip-summarize): Fix last change in the
non-Zip64 case. (Bug#20769)
2015-06-08 17:22:44 +03:00
Artur Malabarba
f1aa40f47d
* lisp/emacs-lisp/package.el (package-delete): Make interactive
2015-06-08 10:50:43 +01:00
Oleh Krehel
c941d47932
checkdoc.el (checkdoc-file): New function
...
* lisp/emacs-lisp/checkdoc.el (checkdoc-error): When
`checkdoc-diagnostic-buffer' is set to "*warn*", print the warning
to the standard output.
(bug#20754)
2015-06-08 08:33:21 +02:00
Glenn Morris
86abad6508
Remove the obsolete leading "*" from some C doc strings.
...
* 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.
2015-06-07 16:47:45 -07:00
Dmitry Gutov
866cda36cc
Escape any quotes in the function name
...
* lisp/help-fns.el (help-fns--signature): Quote any quotes in the
function name (bug#20759).
2015-06-07 23:39:18 +03:00
Juri Linkov
6fec047e94
* lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
...
before calling grep-compute-defaults because now it affects the
command lines computed in grep-compute-defaults. (Bug#20728)
2015-06-07 01:02:38 +03:00
Glenn Morris
809885c217
Address some compilation warnings.
...
* lisp/international/mule-cmds.el (w32-get-console-codepage)
(w32-get-console-output-codepage):
* lisp/progmodes/elisp-mode.el (xref-collect-references):
* lisp/version.el (cairo-version-string): Declare.
* lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
2015-06-06 12:12:06 -07:00
Dmitry Gutov
73e6f36ed6
Replace uses of in-string-p; make it obsolete
...
* lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
(end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
2015-06-06 12:57:59 +03:00
Eli Zaretskii
e5108ff1e4
Fix Dired display of an explicit list of files by ls-lisp.el
...
* lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
(ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
correct for when displaying individual files separately, not as
part of listing a directory, in which case these values are not
recomputed by 'ls-lisp-insert-directory', but used verbatim.
2015-06-06 12:52:56 +03:00
Eli Zaretskii
6cdeb62ea6
* lisp/dired.el (dired): Doc fix. (Bug#20739)
2015-06-06 12:33:59 +03:00
Nicolas Petton
30e518379e
* lisp/emacs-lisp/map.el (map-let): Better docstring.
2015-06-06 01:54:11 +02:00
Nicolas Petton
2a54e8dfff
Better syntax for the map pcase pattern
...
* lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted.
2015-06-06 01:50:32 +02:00
Nicolas Petton
cd22663b85
* lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
2015-06-06 01:26:25 +02:00
Nicolas Petton
431fca48a8
; * lisp/emacs-lisp/map.el: Fix formatting.
2015-06-06 01:26:25 +02:00
Nicolas Petton
8fe836abbd
Fix a byte-compiler error in map-put and map-delete
...
* lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
called with a symbol.
2015-06-06 01:26:25 +02:00
Tassilo Horn
9533ed8d05
Use string> instead of equiv lambda with string<
...
* lisp/help.el (view-emacs-news): Use string> instead of equivalent
lambda with string<.
2015-06-05 23:58:39 +02:00
Glenn Morris
b0eb66823f
* lisp/emacs-lisp/map.el (map--dispatch): Move before use.
...
(map--delete-array): Fix typo.
2015-06-05 16:30:39 -04:00
Glenn Morris
18942259ce
* lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
...
(SUBDIRS_REL): Derive from SUBDIRS.
2015-06-05 16:12:44 -04:00
Glenn Morris
1805ce763e
Tweak some build messages.
...
* lisp/Makefile.in ($(lisp)/loaddefs.el):
* lisp/cus-dep.el (custom-make-dependencies):
* lisp/finder.el (finder-compile-keywords): Say what we are doing.
* lisp/international/titdic-cnv.el (batch-titdic-convert):
Don't say how to compile.
2015-06-05 16:10:18 -04:00
Paul Eggert
58eeddf56b
Omit U+0332 COMBINING LOW LINE in previous change
...
It turns out that it does not work on Ubuntu 15.04.
2015-06-05 00:04:53 -07:00
Paul Eggert
8453c73295
Fix transliteration of Bahá'í months
...
* lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
Improve quality of Latin transliteration of Bahá'í month names.
2015-06-04 23:54:49 -07:00
Paul Eggert
1ba0149572
Fix curved quotes in a few places
...
* lisp/calc/calc-misc.el (calc-help): Fix quoting.
The strings in question are not doc strings, so this partially
undoes the recent change that assumed they were doc strings.
* lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
* lisp/info.el (Info-finder-find-node):
Use curved quotes.
* lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
Also allow curved quotes in doc strings.
2015-06-04 23:54:49 -07:00
Glenn Morris
8fb6253c00
* lisp/Makefile.in (AM_V_at): Add missing definition.
2015-06-04 21:19:22 -04:00
Glenn Morris
76f896dd1b
* lisp/Makefile.in: Quieten output a bit.
...
($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
Don't echo directories, since the commands we invoke print them.
2015-06-04 21:16:23 -04:00
Glenn Morris
0382a93465
* lisp/Makefile.in: Replace shell fragments in variables with $(shell).
...
(SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
(SUBDIRS_SUBDIRS): New variables.
(setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
Remove.
($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
(update-subdirs, compile-main, compile-clean):
Replace "setwins" usage with new "SUBDIRS" variables.
2015-06-04 21:02:26 -04:00
Glenn Morris
09cefee10c
* lisp/vc/compare-w.el (compare-windows-get-window-function):
...
Fix :version tag.
2015-06-04 20:47:05 -04:00
Glenn Morris
cc88cb8ac4
* lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
2015-06-04 19:26:32 -04:00
Glenn Morris
058ecce357
* lisp/leim/quail/lrt.el (quail-lrt-update-translation):
...
Rename from quail-lao-update-translation, since lao.el defines that.
2015-06-04 19:25:48 -04:00
Dmitry Gutov
f6fc446d93
Handle new-style advice in find-funct
...
* lisp/emacs-lisp/find-func.el (find-function-advised-original):
Handle new-style advice. Return the symbol's function definition.
(Bug#20718)
(find-function-library): Update accordingly.
2015-06-05 01:34:40 +03:00
Nicolas Petton
d4aca72ead
Merge branch 'map'
2015-06-04 22:30:29 +02:00
Nicolas Petton
cfb35800a8
* lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
2015-06-04 22:26:22 +02:00
Nicolas Petton
41a929c5ae
Add new function string-greaterp
...
* lisp/subr.el (string-greaterp): New function. Also aliased to
`string>'.
* test/automated/subr-tests.el (string-comparison-test): Add unit
tests for `string>'and `string<'.
* src/fns.c (string-lessp): Better docstring.
2015-06-04 18:27:54 +02:00
Paul Eggert
adc7d9e89c
Don't pass raw directory name to 'error'
...
* lisp/files.el (basic-save-buffer-2): Avoid format error if
a directory name contains a string like "%s".
2015-06-03 17:19:19 -07:00
Dmitry Gutov
6d020ecd89
Override 'grep --color=always'
...
* lisp/progmodes/xref.el (xref-collect-matches):
Override --color=always in grep-find-template.
2015-06-04 02:46:43 +03:00