[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master ce88920 2/2: Merge branch 'master' of git+ssh://git
From: |
Artur Malabarba |
Subject: |
[Emacs-diffs] master ce88920 2/2: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs |
Date: |
Mon, 30 Mar 2015 23:58:46 +0000 |
branch: master
commit ce88920edb410ed90733763843014470f1d40e28
Merge: a7270fb ef37e79
Author: Artur Malabarba <address@hidden>
Commit: Artur Malabarba <address@hidden>
Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs
---
lisp/ChangeLog | 36 +++++++++++++++++++++---------------
lisp/emacs-lisp/eieio-base.el | 9 +++++++++
2 files changed, 30 insertions(+), 15 deletions(-)
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index da5893f..cad239d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -3,17 +3,23 @@
* emacs-lisp/package.el: Reorganize package.el and divide it with
page-breaks and comments.
+2015-03-30 Stefan Monnier <address@hidden>
+
+ * emacs-lisp/eieio-base.el (make-instance) <eieio-named>: New instance
+ which stores the old-style object name argument into the
+ object-name field.
+
2015-03-30 Alan Mackenzie <address@hidden>
Correct calculation of CC Mode's font-lock region.
- * progmodes/cc-mode.el (c-fl-decl-start): Renamed from
+ * progmodes/cc-mode.el (c-fl-decl-start): Rename from
c-set-fl-decl-start. Change signature such that nil is returned
when no declaration is found.
- (c-change-expand-fl-region): Renamed from
+ (c-change-expand-fl-region): Rename from
c-change-set-fl-decl-start. This now also handles expanding the
font lock region to whole lines.
- (c-context-expand-fl-region): Renamed from
+ (c-context-expand-fl-region): Rename from
c-context-set-fl-decl-start. This now also handles expanding the
font lock region to whole lines.
(c-font-lock-fontify-region): When a change font lock region is
@@ -71,15 +77,15 @@
2015-03-27 Wolfgang Jenkner <address@hidden>
- * font-lock.el (font-lock--remove-face-from-text-property): New
- function. Adapted from the previously commented out
+ * font-lock.el (font-lock--remove-face-from-text-property):
+ New function. Adapted from the previously commented out
remove-single-text-property.
Remove previously unused and commented out auxiliary function
remove-text-property and obsolete comment.
* comint.el (comint-output-filter): Use it to remove
comint-highlight-prompt.
- (comint-snapshot-last-prompt, comint-output-filter): Use
- font-lock-prepend-text-property for comint-highlight-prompt.
+ (comint-snapshot-last-prompt, comint-output-filter):
+ Use font-lock-prepend-text-property for comint-highlight-prompt.
(Bug#20084)
2015-03-26 Daniel Colascione <address@hidden>
@@ -226,15 +232,15 @@
Automatically adjust process window sizes.
- * window.el (window-adjust-process-window-size-function): New
- customizable variable.
+ * window.el (window-adjust-process-window-size-function):
+ New customizable variable.
(window-adjust-process-window-size)
(window-adjust-process-window-size-smallest)
(window-adjust-process-window-size-largest)
(window--process-window-list, window--adjust-process-windows):
New functions.
- (window-configuration-change-hook): Add
- `window--adjust-process-windows'.
+ (window-configuration-change-hook):
+ Add `window--adjust-process-windows'.
* term.el (term-mode): Observe result of
`window-adjust-process-window-size-function'.
(term-check-size): Delete.
@@ -266,13 +272,13 @@
2015-03-21 Tassilo Horn <address@hidden>
- * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): Also
- recognize (cl-)defmethod with (setf method) name.
+ * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1):
+ Also recognize (cl-)defmethod with (setf method) name.
2015-03-20 Tassilo Horn <address@hidden>
- * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): Fix
- false positive in function name font-locking.
+ * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1):
+ Fix false positive in function name font-locking.
(lisp-cl-font-lock-keywords-1): Ditto.
2015-03-20 Stefan Monnier <address@hidden>
diff --git a/lisp/emacs-lisp/eieio-base.el b/lisp/emacs-lisp/eieio-base.el
index 5b3d902..c2eab20 100644
--- a/lisp/emacs-lisp/eieio-base.el
+++ b/lisp/emacs-lisp/eieio-base.el
@@ -498,6 +498,15 @@ All slots are unbound, except those initialized with
PARAMS."
(concat nm "-1")))))
nobj))
+(cl-defmethod make-instance ((class (subclass eieio-named)) &rest args)
+ (if (not (stringp (car args)))
+ (cl-call-next-method)
+ (funcall (if eieio-backward-compatibility #'ignore #'message)
+ "Obsolete: name passed without :object-name to %S constructor"
+ class)
+ (apply #'cl-call-next-method class :object-name args)))
+
+
(provide 'eieio-base)
;;; eieio-base.el ends here
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master ce88920 2/2: Merge branch 'master' of git+ssh://git.sv.gnu.org/srv/git/emacs,
Artur Malabarba <=