diff options
| author | Stefan Monnier | 2004-10-09 14:28:12 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2004-10-09 14:28:12 +0000 |
| commit | cd9d956124848da72b19da969ea37553c7dce970 (patch) | |
| tree | 3c7551159a24c916f32884ecaae82b7f35dc91fc | |
| parent | a682a2d38f52a4234551139ac49da8ea0b323f4d (diff) | |
| download | emacs-cd9d956124848da72b19da969ea37553c7dce970.tar.gz emacs-cd9d956124848da72b19da969ea37553c7dce970.zip | |
(lisp-fill-paragraph): Fix backslashes.
| -rw-r--r-- | lisp/emacs-lisp/lisp-mode.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el index da249076b91..f4364c38e8d 100644 --- a/lisp/emacs-lisp/lisp-mode.el +++ b/lisp/emacs-lisp/lisp-mode.el | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; lisp-mode.el --- Lisp mode, and its idiosyncratic commands | 1 | ;;; lisp-mode.el --- Lisp mode, and its idiosyncratic commands |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985,86,1999,2000,01,03,2004 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 1986, 1999, 2000, 2001, 2003, 2004 |
| 4 | ;; Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
| 6 | ;; Keywords: lisp, languages | 7 | ;; Keywords: lisp, languages |
| @@ -1153,7 +1154,8 @@ paragraph of it that point is in, preserving the comment's indentation | |||
| 1153 | and initial semicolons." | 1154 | and initial semicolons." |
| 1154 | (interactive "P") | 1155 | (interactive "P") |
| 1155 | (or (fill-comment-paragraph justify) | 1156 | (or (fill-comment-paragraph justify) |
| 1156 | ;; Point is on a program line (a line no comment); we are interested | 1157 | ;; Since fill-comment-paragraph returned nil, that means we're not in |
| 1158 | ;; a comment: Point is on a program line; we are interested | ||
| 1157 | ;; particularly in docstring lines. | 1159 | ;; particularly in docstring lines. |
| 1158 | ;; | 1160 | ;; |
| 1159 | ;; We bind `paragraph-start' and `paragraph-separate' temporarily. They | 1161 | ;; We bind `paragraph-start' and `paragraph-separate' temporarily. They |
| @@ -1182,7 +1184,7 @@ and initial semicolons." | |||
| 1182 | ;; The `fill-column' is temporarily bound to | 1184 | ;; The `fill-column' is temporarily bound to |
| 1183 | ;; `emacs-lisp-docstring-fill-column' if that value is an integer. | 1185 | ;; `emacs-lisp-docstring-fill-column' if that value is an integer. |
| 1184 | (let ((paragraph-start (concat paragraph-start | 1186 | (let ((paragraph-start (concat paragraph-start |
| 1185 | "\\|\\s-*\\([\(;:\"]\\|`\(\\|#'\(\\)")) | 1187 | "\\|\\s-*\\([(;:\"]\\|`(\\|#'(\\)")) |
| 1186 | (paragraph-separate | 1188 | (paragraph-separate |
| 1187 | (concat paragraph-separate "\\|\\s-*\".*[,\\.]$")) | 1189 | (concat paragraph-separate "\\|\\s-*\".*[,\\.]$")) |
| 1188 | (fill-column (if (integerp emacs-lisp-docstring-fill-column) | 1190 | (fill-column (if (integerp emacs-lisp-docstring-fill-column) |
| @@ -1227,5 +1229,5 @@ means don't indent that line." | |||
| 1227 | 1229 | ||
| 1228 | (provide 'lisp-mode) | 1230 | (provide 'lisp-mode) |
| 1229 | 1231 | ||
| 1230 | ;;; arch-tag: 414c7f93-c245-4b77-8ed5-ed05ef7ff1bf | 1232 | ;; arch-tag: 414c7f93-c245-4b77-8ed5-ed05ef7ff1bf |
| 1231 | ;;; lisp-mode.el ends here | 1233 | ;;; lisp-mode.el ends here |