diff options
| author | Gerd Moellmann | 1999-10-16 12:00:02 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-10-16 12:00:02 +0000 |
| commit | 893d4ef0ad7838f0132571ae13514461e631db6e (patch) | |
| tree | 9398c7eb41b69d708b29f1bbf74810c4bcc7d88b | |
| parent | 43b4a21f4e1ad5a085af3d56be3c9d62f54174e3 (diff) | |
| download | emacs-893d4ef0ad7838f0132571ae13514461e631db6e.tar.gz emacs-893d4ef0ad7838f0132571ae13514461e631db6e.zip | |
(common-lisp-indent-function): Use `eq' instead of `eql'.
| -rw-r--r-- | lisp/emacs-lisp/cl-indent.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/emacs-lisp/cl-indent.el b/lisp/emacs-lisp/cl-indent.el index d038a6228a7..c4af6c4df9d 100644 --- a/lisp/emacs-lisp/cl-indent.el +++ b/lisp/emacs-lisp/cl-indent.el | |||
| @@ -161,15 +161,15 @@ by `lisp-body-indent'." | |||
| 161 | (setq method lisp-indent-defun-method))) | 161 | (setq method lisp-indent-defun-method))) |
| 162 | 162 | ||
| 163 | (cond ((and (memq (char-after (1- containing-sexp)) '(?\' ?\`)) | 163 | (cond ((and (memq (char-after (1- containing-sexp)) '(?\' ?\`)) |
| 164 | (not (eql (char-after (- containing-sexp 2)) ?\#))) | 164 | (not (eq (char-after (- containing-sexp 2)) ?\#))) |
| 165 | ;; No indentation for "'(...)" elements | 165 | ;; No indentation for "'(...)" elements |
| 166 | (setq calculated (1+ sexp-column))) | 166 | (setq calculated (1+ sexp-column))) |
| 167 | ((or (eql (char-after (1- containing-sexp)) ?\,) | 167 | ((or (eq (char-after (1- containing-sexp)) ?\,) |
| 168 | (and (eql (char-after (1- containing-sexp)) ?\@) | 168 | (and (eq (char-after (1- containing-sexp)) ?\@) |
| 169 | (eql (char-after (- containing-sexp 2)) ?\,))) | 169 | (eq (char-after (- containing-sexp 2)) ?\,))) |
| 170 | ;; ",(...)" or ",@(...)" | 170 | ;; ",(...)" or ",@(...)" |
| 171 | (setq calculated normal-indent)) | 171 | (setq calculated normal-indent)) |
| 172 | ((eql (char-after (1- containing-sexp)) ?\#) | 172 | ((eq (char-after (1- containing-sexp)) ?\#) |
| 173 | ;; "#(...)" | 173 | ;; "#(...)" |
| 174 | (setq calculated (1+ sexp-column))) | 174 | (setq calculated (1+ sexp-column))) |
| 175 | ((null method)) | 175 | ((null method)) |