diff options
| author | Stefan Monnier | 2012-10-07 11:15:16 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-10-07 11:15:16 -0400 |
| commit | 13af0d109fc8d2595c0f9f103993e27690f616a3 (patch) | |
| tree | 89cf682d22a89a28f7a930f45c73e8ee28259955 | |
| parent | 17917e7468f85af6691ed2de56650cede65b749a (diff) | |
| download | emacs-13af0d109fc8d2595c0f9f103993e27690f616a3.tar.gz emacs-13af0d109fc8d2595c0f9f103993e27690f616a3.zip | |
* lisp/emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
forms that define macros.
Fixes: debbugs:12593
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/comint.el | 7 | ||||
| -rw-r--r-- | lisp/emacs-lisp/autoload.el | 2 |
3 files changed, 10 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c7fd6eaf2b6..132cea20bdc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,7 +1,12 @@ | |||
| 1 | 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the | ||
| 4 | forms that define macros (bug#12593). | ||
| 5 | |||
| 1 | 2012-10-07 Kenichi Handa <handa@gnu.org> | 6 | 2012-10-07 Kenichi Handa <handa@gnu.org> |
| 2 | 7 | ||
| 3 | * international/mule-conf.el (compound-text-with-extensions): Add | 8 | * international/mule-conf.el (compound-text-with-extensions): |
| 4 | :mime-charset property as x-ctext. | 9 | Add :mime-charset property as x-ctext. |
| 5 | 10 | ||
| 6 | 2012-10-07 Stefan Merten <smerten@oekonux.de> | 11 | 2012-10-07 Stefan Merten <smerten@oekonux.de> |
| 7 | 12 | ||
diff --git a/lisp/comint.el b/lisp/comint.el index fea9cecfa03..080b12e0cdf 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -2783,11 +2783,8 @@ the load or compile." | |||
| 2783 | (if (and buff | 2783 | (if (and buff |
| 2784 | (buffer-modified-p buff) | 2784 | (buffer-modified-p buff) |
| 2785 | (y-or-n-p (format "Save buffer %s first? " (buffer-name buff)))) | 2785 | (y-or-n-p (format "Save buffer %s first? " (buffer-name buff)))) |
| 2786 | ;; save BUFF. | 2786 | (with-current-buffer buff |
| 2787 | (let ((old-buffer (current-buffer))) | 2787 | (save-buffer))))) |
| 2788 | (set-buffer buff) | ||
| 2789 | (save-buffer) | ||
| 2790 | (set-buffer old-buffer))))) | ||
| 2791 | 2788 | ||
| 2792 | (defun comint-extract-string () | 2789 | (defun comint-extract-string () |
| 2793 | "Return string around point, or nil." | 2790 | "Return string around point, or nil." |
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index e6e2d1e60e0..382e25f3121 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el | |||
| @@ -153,7 +153,7 @@ expression, in which case we want to handle forms differently." | |||
| 153 | easy-mmode-define-minor-mode define-minor-mode | 153 | easy-mmode-define-minor-mode define-minor-mode |
| 154 | cl-defun defun* cl-defmacro defmacro* | 154 | cl-defun defun* cl-defmacro defmacro* |
| 155 | define-overloadable-function)) | 155 | define-overloadable-function)) |
| 156 | (let* ((macrop (memq car '(defmacro defmacro*))) | 156 | (let* ((macrop (memq car '(defmacro cl-defmacro defmacro*))) |
| 157 | (name (nth 1 form)) | 157 | (name (nth 1 form)) |
| 158 | (args (pcase car | 158 | (args (pcase car |
| 159 | ((or `defun `defmacro | 159 | ((or `defun `defmacro |