1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

120316 commits

Author SHA1 Message Date
Artur Malabarba
0ee15a20bc emacs-lisp/package.el (package-delete): Document NOSAVE. 2015-02-03 11:19:56 +00:00
Thierry Volpiatto
88acd70e67 emacs-lisp/package.el (package-reinstall): Don't change selected status. 2015-02-03 11:18:46 +00:00
Artur Malabarba
e17d033781 NEWS: Document package.el's improved dependency-handling. 2015-02-03 11:08:02 +00:00
Michael Albinus
24fa4ff944 Further work on suppressing shell history in Tramp
Fixes: debbugs:19731

* net/tramp-sh.el (tramp-histfile-override): Fix docstring.
(tramp-open-shell, tramp-maybe-open-connection): Set also
HISTFILESIZE and HISTSIZE when needed.
2015-02-03 09:24:57 +01:00
Paul Eggert
1905cb7637 Omit unnecessary var if GTK or NS
* frame.c, frame.h (frame_default_tool_bar_height) [USE_GTK||HAVE_NS]:
Now a constant zero on these platforms.
2015-02-02 16:21:22 -08:00
Michael Albinus
c10828bd85 * net/tramp-sh.el (tramp-histfile-override): Use t instead of `unset'. 2015-02-02 20:47:31 +01:00
Michael Albinus
954ca0f017 * net/tramp-sh.el (tramp-histfile-override): Use `unset' as default. 2015-02-02 16:42:01 +01:00
Artur Malabarba
8ad2ee33a1 emacs-lisp/package.el (package--get-deps): Fix returning duplicates. 2015-02-02 13:26:40 -02:00
Artur Malabarba
ef6fa2fe0d emacs-lisp/package.el (package-menu-execute): Clean unnecessary `and'. 2015-02-02 13:25:16 -02:00
Michael Albinus
219119e906 Fix last tramp-sh.el commit 2015-02-02 13:49:57 +01:00
Artur Malabarba
fe188b2e4f emacs-lisp/package.el (package-initialize): Populate `package-selected-packages'. 2015-02-02 11:56:35 +00:00
Michael Albinus
6f8372ded1 Tramp: Support unsetting HISTFILE.
Fixes: debbugs:19731

* lisp/net/tramp-sh.el (tramp-histfile-override): Add another choice 'unset.
(tramp-open-shell, tramp-maybe-open-connection): Support it.
2015-02-02 12:38:36 +01:00
Thierry Volpiatto
060dc14590 emacs-lisp/package.el: Fix previous patch 2015-02-02 10:15:36 +00:00
Artur Malabarba
0326960d3d emacs-lisp/package.el: Many style changes 2015-02-01 21:01:37 -02:00
Artur Malabarba
8334021e5a package.el (package--get-deps): Fix for indirect dependencies. 2015-02-01 20:50:13 -02:00
Artur Malabarba
5329208baf emacs-lisp/package.el (package-install): Rename ARG to MARK-SELECTED. 2015-02-01 20:34:16 -02:00
Artur Malabarba
0ade763b74 emacs-lisp/package.el (package-selected-packages): Fix :type 2015-02-01 20:28:21 -02:00
Thierry Volpiatto
e2f0f263df emacs-lisp/package.el: Don't allow deleting dependencies. 2015-02-01 20:17:51 -02:00
Martin Rudalics
92a8dec54e Give `window-text-pixel-size' optional BUFFER argument.
[This reinstalls commit 1d1162479c,
which I mistakenly reverted.  --eggert]
* xdisp.c (Fwindow_text_pixel_size): Add optional argument BUFFER.
* display.texi (Size of Displayed Text): Describe optional
argument BUFFER of `window-text-pixel-size'.
2015-02-01 12:06:32 -08:00
Paul Eggert
241260cc28 Revert changes installed by xwidgets merge 2015-02-01 11:45:15 -08:00
Martin Rudalics
1d1162479c Give `window-text-pixel-size' optional BUFFER argument.
* xdisp.c (Fwindow_text_pixel_size): Add optional argument BUFFER.
* display.texi (Size of Displayed Text): Describe optional
argument BUFFER of `window-text-pixel-size'.
2015-02-01 16:49:46 +01:00
Ulrich Müller
f1cea3e96c configure.ac: Fix a typo. 2015-02-01 15:05:20 +01:00
Glenn Morris
e8e483a974 # Auto-commit of loaddefs files. 2015-02-01 06:24:33 -05:00
Joakim Verona
9fe732a02a Better changelog for xwidgets 2015-02-01 01:30:02 +01:00
Joakim Verona
d75b60ce5f NEWS entry and Changelog xwidgets 2015-02-01 01:16:40 +01:00
Joakim Verona
69815dfe37 Merge branch 'master' into xwidget 2015-02-01 00:37:46 +01:00
Joakim Verona
4edad429ca Fix compile warnings xwidget.el 2015-01-31 21:09:11 +01:00
Joakim Verona
3fd802081f Fix for crash when displaying xwidget in a tty
Xwidgets are now handled the same as images in the tty case,
they are ignored.
2015-01-31 21:07:07 +01:00
Eli Zaretskii
a2c32b0cfc Avoid aborts when keyboard-coding-system is raw-text (Bug#19532)
src/coding.c (raw_text_coding_system_p): New function.
 src/keyboard.c (read_decoded_event_from_main_queue): Use it when the
 keyboard coding-system is 'raw-text'.
 src/coding.h (raw_text_coding_system_p): Add prototype.
2015-01-31 20:48:53 +02:00
Andreas Schwab
080b9b56c9 Don't reimplement move-if-change badly
* Makefile.in (gl-stamp): Generate globals.h through the use of
move-if-change.
(globals.h): Replace with empty command.
2015-01-31 09:42:16 +01:00
Eli Zaretskii
eaea02c71a Fix while-no-input loops (Bug#19547)
src/keyboard.c (kbd_buffer_store_event_hold): Ignore FOCUS_OUT_EVENT
 and ICONIFY_EVENT for the purposes of breaking while-no-input
 loops.
2015-01-31 10:35:26 +02:00
Eli Zaretskii
376ba20ac1 Fix last commit, which confused WINDOWSNT with MSDOS.
src/dired.c (read_dirent): Correct the "MSDOS hacks" hack: the
 special code for errno = ENOENT or EACCES is needed for WINDOWSNT,
 not for MSDOS.
2015-01-31 10:05:10 +02:00
Paul Eggert
512cdb9f2b Simplify read_dirent's MSDOS hacks
* dired.c (read_dirent): Simplify by removing the need for the
DIR_ENTRY argument.  All callers changed.  This separates the
MS-DOS idiosyncrasies better from the rest of the code.
2015-01-30 23:12:18 -08:00
Stefan Monnier
e0be229d5f EIEIO: Simplify help hyperlinks; Try and reduce hardcoding in .elc
* lisp/emacs-lisp/cl-generic.el (cl--generic-search-method): Fix regexp.

* lisp/emacs-lisp/eieio-core.el (eieio--check-type): Remove.
Use cl-check-type everywhere instead.
(eieio-class-object): Remove, use find-class instead when needed.
(class-p): Don't inline.
(eieio-object-p): Check more thoroughly, so we don't treat cl-structs,
such as eieio classes, as objects.  Don't inline.
(object-p): Mark as obsolete.
(eieio-defclass-autoload, eieio-defclass-internal, eieio-oref)
(eieio--generic-tagcode): Avoid `class-p'.
(eieio-make-class-predicate, eieio-make-child-predicate): New functions.
(eieio-defclass-internal): Use current-load-list rather than
`class-location'.

* lisp/emacs-lisp/eieio-opt.el (eieio-help-class, eieio-help-constructor):
Use find-lisp-object-file-name, help-fns-short-filename and new calling
convention for eieio-class-def.
(eieio-build-class-list): Remove function, unused.
(eieio-method-def): Remove button type, unused.
(eieio-class-def): Inherit from help-function-def.
(eieio--defclass-regexp): New constant.
(find-function-regexp-alist): Use it.
(eieio--specializers-apply-to-class-p): Handle eieio--static as well.
(eieio-help-find-method-definition, eieio-help-find-class-definition):
Remove functions.

* lisp/emacs-lisp/eieio.el (defclass): Use new eieio-make-class-predicate
and eieio-make-child-predicate.
(eieio-class-parents): Use eieio--class-object.
(slot-boundp, find-class, eieio-override-prin1): Avoid class-p.
(slot-exists-p): Use find-class.

* test/automated/eieio-tests.el (eieio-test-23-inheritance-check): Simplify.
2015-01-31 00:48:14 -05:00
Stefan Monnier
d5e3922e08 * lisp/emacs-lisp/backquote.el: Fix bug with unoptimized exp.
Fixes: debbugs:19734

* lisp/emacs-lisp/backquote.el (backquote-delay-process): Don't reuse `s'
since it may be "equivalent" in some sense, yet different.
* test/automated/core-elisp-tests.el (core-elisp-tests-3-backquote): New test.
2015-01-30 16:00:29 -05:00
Oleh Krehel
adebc14b9c lisp/outline.el: Improve docstrings. 2015-01-30 17:45:05 +01:00
Oleh Krehel
ac79251493 lisp/outline.el: Add namespace prefixes.
* outline.el (outline-hide-entry): Rename from `hide-entry'.
(outline-show-entry): rename from `show-entry'
(outline-hide-body): Rename from `hide-body'.
(outline-hide-region-body): Rename from `hide-region-body'.
(outline-show-all): Rename from `show-all'.
(outline-hide-subtree): Rename from `hide-subtree'.
(outline-hide-leaves): Rename from `hide-leaves'.
(outline-show-subtree): Rename from `show-subtree'.
(outline-hide-sublevels): Rename from `hide-sublevels'.
(outline-hide-other): Rename from `hide-other'.
(outline-show-children): Rename from `show-children'.
(outline-show-branches): Rename from `show-branches'.
2015-01-30 17:44:03 +01:00
Oleh Krehel
5a1b8a1179 lisp/outline.el (outline-mode): Clean up docstring
* lisp/outline.el (font-lock-warning-face): Remove unused declare.
(outline-mode-prefix-map): Remove obsolete comment.
(outline-font-lock-face): Remove obsolete comment.
2015-01-30 17:41:49 +01:00
Oleh Krehel
58aa0dad36 lisp/custom.el (defface): Set indent to 1. 2015-01-30 17:35:51 +01:00
Oleh Krehel
b1e3d14845 lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Set `indent' to 1. 2015-01-30 17:32:29 +01:00
Michal Nazarewicz
5a971bd302 files.el: avoid asking whether to kill Emacs multiple times
* lisp/files.el (save-buffers-kill-emacs): If `confirm-kill-emacs' is
set, but user has just been asked whether they really want to kill Emacs
(for example with a ‘Modified buffers exist; exit anyway?’ prompt) , do
not ask them for another confirmation.
2015-01-30 11:43:04 +01:00
Glenn Morris
c9d238316c Tweak recent gnus-registry.el changes
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg01748.html

* lisp/gnus/gnus-registry.el (gnus-registry-max-pruned-entries)
(gnus-registry-prune-factor, gnus-registry-default-sort-function):
Fix :version.
(gnus-registry-default-sort-function): Improve :type.
2015-01-30 00:08:40 -08:00
Glenn Morris
041d53a4a6 # ChangeLog fix
That's not the right format for multi-file changes,
and such things don't need ChangeLog entries anyway.
2015-01-30 00:04:52 -08:00
Glenn Morris
8ebc20d0a9 # ChangeLog fix
If you revert a change a few days after making it,
don't delete the ChangeLog entry.
2015-01-30 00:03:34 -08:00
Glenn Morris
2b9b98bdb7 # ChangeLog fixes
Merged ChangeLog entries go to the top, with the date of the merge.
It's a simple rule.
2015-01-30 00:01:24 -08:00
Eli Zaretskii
44ae136490 Fix error messages when readdir cannot open a directory on MS-Windows
src/dired.c (read_dirent): Accept an additional argument
 FIRST_ENTRY.  If readdir fails with ENOENT or EACCES the first
 time it is called, report the error as if it happened in
 open_directory.
 (directory_files_internal, file_name_completion): Adjust callers
 or read_dirent.
2015-01-30 08:48:32 +02:00
Paul Eggert
d7adc7d90f Spelling fix 2015-01-29 19:52:15 -08:00
Paul Eggert
34d0859c4b Refactor calls to opendir for simplicity
* dired.c (open_directory): Accept Lisp_Object, not char *, for
dirname.  Signal an error if the open fails.  All callers changed.
2015-01-29 19:02:01 -08:00
Francesc Rocher
9242cdcda9 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2015-01-30 00:38:31 +01:00
Francesc Rocher
ca9456fbf4 Splash images refurbished 2015-01-30 00:38:02 +01:00