diff options
| author | Paul Eggert | 2018-03-29 17:41:11 -0700 |
|---|---|---|
| committer | Paul Eggert | 2018-03-29 17:43:08 -0700 |
| commit | 20b858ef13f8f71fae6cbce5cdac31c4dd130600 (patch) | |
| tree | 861786941f43a58fa282a5a019d3948904b10a9c /lisp/org | |
| parent | 00c1f771f2a51ffa675ec5a07ea330f2605cd302 (diff) | |
| download | emacs-20b858ef13f8f71fae6cbce5cdac31c4dd130600.tar.gz emacs-20b858ef13f8f71fae6cbce5cdac31c4dd130600.zip | |
Prefer \... to control chars in .el literals
Diffstat (limited to 'lisp/org')
| -rw-r--r-- | lisp/org/org-ctags.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/org/org-ctags.el b/lisp/org/org-ctags.el index 792f3fe1a3c..48981743755 100644 --- a/lisp/org/org-ctags.el +++ b/lisp/org/org-ctags.el | |||
| @@ -236,7 +236,7 @@ buffer position where the tag is found." | |||
| 236 | (with-current-buffer (get-file-buffer tags-file-name) | 236 | (with-current-buffer (get-file-buffer tags-file-name) |
| 237 | (goto-char (point-min)) | 237 | (goto-char (point-min)) |
| 238 | (cond | 238 | (cond |
| 239 | ((re-search-forward (format "^.*%s\\([0-9]+\\),\\([0-9]+\\)$" | 239 | ((re-search-forward (format "^.*\^?%s\^A\\([0-9]+\\),\\([0-9]+\\)$" |
| 240 | (regexp-quote tag)) nil t) | 240 | (regexp-quote tag)) nil t) |
| 241 | (let ((line (string-to-number (match-string 1))) | 241 | (let ((line (string-to-number (match-string 1))) |
| 242 | (pos (string-to-number (match-string 2)))) | 242 | (pos (string-to-number (match-string 2)))) |
| @@ -261,7 +261,7 @@ Return the list." | |||
| 261 | (visit-tags-table-buffer 'same) | 261 | (visit-tags-table-buffer 'same) |
| 262 | (with-current-buffer (get-file-buffer tags-file-name) | 262 | (with-current-buffer (get-file-buffer tags-file-name) |
| 263 | (goto-char (point-min)) | 263 | (goto-char (point-min)) |
| 264 | (while (re-search-forward "^.*\\(.*\\)\\([0-9]+\\),\\([0-9]+\\)$" | 264 | (while (re-search-forward "^.*\^?\\(.*\\)\^A\\([0-9]+\\),\\([0-9]+\\)$" |
| 265 | nil t) | 265 | nil t) |
| 266 | (push (substring-no-properties (match-string 1)) taglist))) | 266 | (push (substring-no-properties (match-string 1)) taglist))) |
| 267 | taglist))) | 267 | taglist))) |