diff options
| author | Eli Zaretskii | 2015-08-14 13:34:18 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2015-08-14 13:34:18 +0300 |
| commit | 9d053b34cb62afece1e14e7cdedeef0d160fb528 (patch) | |
| tree | 8267fd537d5cbce1c0c49069318590f421590707 /lisp/progmodes | |
| parent | acac9f4d727072b31914c9224957ff8dfec97df1 (diff) | |
| download | emacs-9d053b34cb62afece1e14e7cdedeef0d160fb528.tar.gz emacs-9d053b34cb62afece1e14e7cdedeef0d160fb528.zip | |
Don't miss warnings about removing string text properties while dumping
* src/alloc.c (purecopy): Warn about removing a string's text
properties even when the same string was already pure-copied
earlier.
* lisp/progmodes/elisp-mode.el (elisp--xref-format)
(elisp--xref-format-extra): Fix the commentary.
Diffstat (limited to 'lisp/progmodes')
| -rw-r--r-- | lisp/progmodes/elisp-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 81314574672..8392df2a6b9 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el | |||
| @@ -605,7 +605,7 @@ It can be quoted, or be inside a quoted form." | |||
| 605 | (elisp--xref-find-apropos id)))) | 605 | (elisp--xref-find-apropos id)))) |
| 606 | 606 | ||
| 607 | ;; WORKAROUND: This is nominally a constant, but the text properities | 607 | ;; WORKAROUND: This is nominally a constant, but the text properities |
| 608 | ;; are not preserved thru dump if use defconst. See bug#21237 | 608 | ;; are not preserved thru dump if use defconst. See bug#21237. |
| 609 | (defvar elisp--xref-format | 609 | (defvar elisp--xref-format |
| 610 | (let ((str "(%s %s)")) | 610 | (let ((str "(%s %s)")) |
| 611 | (put-text-property 1 3 'face 'font-lock-keyword-face str) | 611 | (put-text-property 1 3 'face 'font-lock-keyword-face str) |
| @@ -613,7 +613,7 @@ It can be quoted, or be inside a quoted form." | |||
| 613 | str)) | 613 | str)) |
| 614 | 614 | ||
| 615 | ;; WORKAROUND: This is nominally a constant, but the text properities | 615 | ;; WORKAROUND: This is nominally a constant, but the text properities |
| 616 | ;; are not preserved thru dump if use defconst. See bug#21237 | 616 | ;; are not preserved thru dump if use defconst. See bug#21237. |
| 617 | (defvar elisp--xref-format-extra | 617 | (defvar elisp--xref-format-extra |
| 618 | (let ((str "(%s %s %s)")) | 618 | (let ((str "(%s %s %s)")) |
| 619 | (put-text-property 1 3 'face 'font-lock-keyword-face str) | 619 | (put-text-property 1 3 'face 'font-lock-keyword-face str) |