Commit cd155d9
committed
Fix compatibility with polymode after pm--visible-buffer-name removal
Replace pm--visible-buffer-name with pm--buffer-name to maintain
compatibility with polymode commit 32d0d6d which removed the
pm--visible-buffer-name function and replaced it with pm--buffer-name.
The pm--buffer-name function takes an optional 'hidden parameter:
- pm--buffer-name() returns the visible buffer name (equivalent to old pm--visible-buffer-name)
- pm--buffer-name('hidden) returns the hidden buffer name (equivalent to old pm--hidden-buffer-name)
This change fixes the issue where ein would fail to load due to the
undefined pm--visible-buffer-name function.
Fixes compatibility with polymode >= commit 32d0d6d.1 parent 2711366 commit cd155d9
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
| 354 | + | |
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
| 360 | + | |
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| |||
382 | 382 | | |
383 | 383 | | |
384 | 384 | | |
385 | | - | |
| 385 | + | |
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| |||
0 commit comments