Skip to content

Use ‘with-current-buffer’ rather than save-excursion+set-buffer #5

@diamond-lizard

Description

@diamond-lizard

When byte-compiling version 0.10 of pg.el, I get the following warning:

In pg:lo-import:
pg.el:838:69:Warning: Use ‘with-current-buffer’ rather than
    save-excursion+set-buffer

In pg:lo-export:
pg.el:848:40:Warning: Use ‘with-current-buffer’ rather than
    save-excursion+set-buffer

In pg:read-char:
pg.el:942:35:Warning: Use ‘with-current-buffer’ rather than
    save-excursion+set-buffer

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions