diff options
| author | Stefan Monnier | 2013-04-26 10:47:07 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-04-26 10:47:07 -0400 |
| commit | 140ef50c0494870fd6b817f8f9b7e8d2cee81b64 (patch) | |
| tree | 4ba69f1489c4bbd55faa67a92b63d2655888f662 /lisp | |
| parent | e53052d3bf33296268db3aadcf5531f69f8e55ae (diff) | |
| download | emacs-140ef50c0494870fd6b817f8f9b7e8d2cee81b64.tar.gz emacs-140ef50c0494870fd6b817f8f9b7e8d2cee81b64.zip | |
* lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo.
Fixes: debbugs:14274
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/emacs-lisp/tabulated-list.el | 11 |
2 files changed, 8 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index e236b923932..290f23a3550 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo | ||
| 4 | (bug#14274). | ||
| 5 | |||
| 3 | * progmodes/octave.el (octave-smie-forward-token): Properly skip | 6 | * progmodes/octave.el (octave-smie-forward-token): Properly skip |
| 4 | \n and comment, even if it's not an implicit ; (bug#14218). | 7 | \n and comment, even if it's not an implicit ; (bug#14218). |
| 5 | 8 | ||
diff --git a/lisp/emacs-lisp/tabulated-list.el b/lisp/emacs-lisp/tabulated-list.el index da487e463e2..6dba423010f 100644 --- a/lisp/emacs-lisp/tabulated-list.el +++ b/lisp/emacs-lisp/tabulated-list.el | |||
| @@ -519,12 +519,11 @@ printer is `tabulated-list-print-entry', but a mode that keeps | |||
| 519 | data in an ewoc may instead specify a printer function (e.g., one | 519 | data in an ewoc may instead specify a printer function (e.g., one |
| 520 | that calls `ewoc-enter-last'), with `tabulated-list-print-entry' | 520 | that calls `ewoc-enter-last'), with `tabulated-list-print-entry' |
| 521 | as the ewoc pretty-printer." | 521 | as the ewoc pretty-printer." |
| 522 | (setq truncate-lines t) | 522 | (setq-local truncate-lines t) |
| 523 | (setq buffer-read-only t) | 523 | (setq-local buffer-read-only t) |
| 524 | (set (make-local-variable 'revert-buffer-function) | 524 | (setq-local buffer-undo-list t) |
| 525 | 'tabulated-list-revert) | 525 | (setq-local revert-buffer-function #'tabulated-list-revert) |
| 526 | (set (make-local-variable 'glyphless-char-display) | 526 | (setq-local glyphless-char-display tabulated-list-glyphless-char-display)) |
| 527 | tabulated-list-glyphless-char-display)) | ||
| 528 | 527 | ||
| 529 | (put 'tabulated-list-mode 'mode-class 'special) | 528 | (put 'tabulated-list-mode 'mode-class 'special) |
| 530 | 529 | ||